View Single Post
  #5  
Old August 10th 06, 02:52 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default String in msg body

As Michael said you just use Item.Body to read the entire body as one long
string. Then use InStr or some other string function to look for what you
want.

--
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


"gamename" wrote in message
ups.com...
Ken Slovak - [MVP - Outlook] wrote:
You have to parse Item.Body to see if the string is in there no matter
what
you do.


So, you're saying that I have to read Item.Body line-by-line, and look
in each string for a substring . There is no separate method to simply
verify that a certain string does or does not exist somewhere inside of
Item.Body. Correct?


Ads