Re: Notify on attachment content

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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,

.



Relevant Pages

  • Re: Does Linux have a help file SDK
    ... Opens a Document. ... Choose a Document file from the list to open it. ... these efforts in conditioning users to avoid context help ... Context help is a fruitless effort. ...
    (comp.os.linux.development.apps)
  • part2
    ... I notice that in SysInternals FileMonitor that Winword.exe ... first opens and closes the document file I am trying to ...
    (microsoft.public.access.setupconfig)
  • Re: Mail Merge from Outlook opens up two MS Word documents.
    ... In Outlook, ... Two MS WORD documents open up. ... I then tried "Existing Document" option under Document file in Mail ... When I do mail merge from Outlook, it opens up ...
    (microsoft.public.outlook)
  • Re: Mail Merge from Outlook opens up two MS Word documents.
    ... In Outlook, ... Two MS WORD documents open up. ... I then tried "Existing Document" option under Document file in Mail ... When I do mail merge from Outlook, it opens up ...
    (microsoft.public.outlook)
  • Re: OE 6 Opens, then shuts down immediately
    ... Try using Windows Explorer and navigate to the Program Files folder, then to Outlook Express and find the file, msimn.exe, and double click it. ... OE still opens briefly and closes, but now I get an error>>> message ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)