A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Notify on attachment content



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3  
Old May 30th 09, 06:51 AM posted to microsoft.public.outlook.program_vba
SpaceCamel
external usenet poster
 
Posts: 3
Default Notify on attachment content

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 02:43 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.