PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
MAPIFolder.Items.Find - single and double quotes in mail subject
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
MAPIFolder.Items.Find - single and double quotes in mail subject
![]() |
MAPIFolder.Items.Find - single and double quotes in mail subject |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi,
How to use Find method for MailItems with single and/or double quotes in mail subject. I need to code something like this: x.Items.find([Subject] = "find with this "message" won't work") Thanks, Pavel |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Double up the double-quotes.
x.Items.find("[Subject] = ""message""") See http://support.microsoft.com/?id=291161 for the ways to use Find/Restrict with quotes and dates and so on. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Pavel" <Pavel@discussions.microsoft.com> wrote in message news:4DAEC0AE-4407-4964-B92A-6634C6836D28@microsoft.com... > Hi, > > How to use Find method for MailItems with single and/or double quotes in > mail subject. > > I need to code something like this: > x.Items.find([Subject] = "find with this "message" won't work") > > Thanks, > Pavel > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

