![]() |
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
|
|||
|
|||
![]()
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 |
#2
|
|||
|
|||
![]()
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, |
#3
|
|||
|
|||
![]()
OK, Got it to work.
Rule moves msg to folder and start macro. Macro saves attachment to folder, opens doc, scans for text if finds text then it sends me another email Thanks, "Ken Slovak - [MVP - Outlook]" wrote: 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, |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Direct DB Notify | John Barton | Outlook Express | 3 | September 2nd 07 06:31 PM |
How to open and extract the content in attachment? | Raju A[_2_] | Outlook and VBA | 1 | August 28th 07 02:24 PM |
Notify Alerts | smitly | Outlook - Calandaring | 0 | November 7th 06 02:41 PM |
notify in calander | Robert C | Outlook - Calandaring | 1 | September 25th 06 06:41 PM |
Attachment Content at risk of being altered | AndyH | Outlook - General Queries | 3 | May 31st 06 03:16 AM |