-
April 8th, 2011, 03:41 PM
#1
FILTER outlook items
I use this line to a AND new condition in a filter in e-mail subject but go in error!
Peraph the LIKE clausloe not is accepted ????
Set olItms = olFld.Items.Restrict("[SenderName]='gssitaly@iol.it' AND [Subject] Like '*:re*'")
The error is "not valid condition"
-
April 8th, 2011, 04:37 PM
#2
Re: FILTER outlook items
FILTERS don't understand AND conditions for unrelated fields
-
April 9th, 2011, 10:54 AM
#3
Re: FILTER outlook items
Originally Posted by dglienna
FILTERS don't understand AND conditions for unrelated fields
Ok... in effect the code work only with the first condition for Sendername.
Admit i have set the eamil with the first condition i can use a next line similar:
for x = ....
Set olItms = instr(olFld.Items.Restrict("[subject], "test")
nxt
if my idea is correct how to set, during the loop, the newest email based the sender date?
-
April 9th, 2011, 06:00 PM
#4
-
April 11th, 2011, 02:25 AM
#5
Re: FILTER outlook items
Originally Posted by dglienna
Use SQL and SORT it
Tath is new for me...... SQL mwith Outlook object?
Example please.:-)
-
April 11th, 2011, 10:09 AM
#6
Re: FILTER outlook items
Visual Studio TOOLS for OFFICE help with that
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|