Re: Notify on attachment content
- From: "Ken Slovak - [MVP - Outlook]" <kenslovak@xxxxxxxx>
- Date: Tue, 26 May 2009 10:53:23 -0400
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" <SpaceCamel@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:EB09FDD5-ECF2-4002-9C61-0CA7E3793472@xxxxxxxxxxxxxxxx
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,
.
- References:
- Notify on attachment content
- From: SpaceCamel
- Notify on attachment content
- Prev by Date: Registering custom url protocol handler that Outlook recognizes
- Next by Date: Re: Registering custom url protocol handler that Outlook recognizes
- Previous by thread: Notify on attachment content
- Next by thread: Registering custom url protocol handler that Outlook recognizes
- Index(es):
Relevant Pages
|