![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
I'm trying to find a item that contains in the beginning of the subject a certain string. I know that I can find a specific subject using [Subject] = xxx but I want to find only the beginning or if the subject contains certain string. Is this possible? Regards, )-- July --) |
Ads |
#2
|
|||
|
|||
![]()
Am Fri, 7 Apr 2006 12:16:14 -0300 schrieb Julieta Prandi:
July, in Outlook = XP you can use the AdvancedSearch method. In OL 2000 youŽd need to loop through all items and check each subject, e.g. with the InStr function. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.vbOffice.net -- Hi, I'm trying to find a item that contains in the beginning of the subject a certain string. I know that I can find a specific subject using [Subject] = xxx but I want to find only the beginning or if the subject contains certain string. Is this possible? Regards, )-- July --) |
#3
|
|||
|
|||
![]()
You can try using and :
strFind = "[Subject] = " & Chr(34) & "xxx" & Chr(34) & _ " AND [Subject] " Chr(34) & "xxy" & Chr(34) -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Julieta Prandi" wrote in message ... Hi, I'm trying to find a item that contains in the beginning of the subject a certain string. I know that I can find a specific subject using [Subject] = xxx but I want to find only the beginning or if the subject contains certain string. Is this possible? Regards, )-- July --) |
#4
|
|||
|
|||
![]()
This is a good workaround.
Thanks you. "Sue Mosher [MVP-Outlook]" wrote in message ... You can try using and : strFind = "[Subject] = " & Chr(34) & "xxx" & Chr(34) & _ " AND [Subject] " Chr(34) & "xxy" & Chr(34) -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Julieta Prandi" wrote in message ... Hi, I'm trying to find a item that contains in the beginning of the subject a certain string. I know that I can find a specific subject using [Subject] = xxx but I want to find only the beginning or if the subject contains certain string. Is this possible? Regards, )-- July --) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Can't move the items" When using Advanced Find | seanp | Add-ins for Outlook | 2 | March 16th 06 03:50 PM |
Working offline - items not going to sent items folder after sync. | okhuntin | Outlook - Installation | 0 | March 14th 06 09:01 PM |
How to hide Read items? I want to see only the Unread Items in my view. | [email protected] | Outlook - General Queries | 3 | February 7th 06 03:56 PM |
Moving a Mix of Mail Items and Report Items | Steve Roberts | Outlook and VBA | 1 | January 24th 06 11:36 PM |
2003 calendar's find, doesn't find items created today till tomarr | Support7556 | Outlook - Calandaring | 11 | January 20th 06 10:54 PM |