View Single Post
  #2  
Old May 26th 09, 03:53 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Notify on attachment content

You would need to save the attachment to the file system as a document file
and then open it and parse it using the Word object model.

When you manually open an attachment from Outlook that's exactly what
Outlook does. It saves the attachment in a temp folder and opens it based on
what program is registered in Windows to handle that file extension.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"SpaceCamel" wrote in message
...
I receive email with a word attachment every day. I am only interested
when
the document contains certain words. Is there a way via VBA to
automatically
open the doc, scan for the word and notify if present.
Thanks,


Ads