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

Find a String in Email Attachment(s)



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 2nd 10, 09:12 AM posted to microsoft.public.outlook.program_vba
Ma10kumar
external usenet poster
 
Posts: 1
Default Find a String in Email Attachment(s)

Good day to You!

Product: Outlook 2003 exchange server

Issue: I have a macro, which saves any attachment to a particular location
based on the input available in subject line. Currently, subject line is
manually changed to provide the required input to the macro. However, I would
like to (but don't know) to write a vba program for searching our branch
offices names in the attachments and change the subject line with the branch
name found in the attachment. The attachment always will be in pdf format
only.

Daily I need to change the subject line for around 50 emails and its boring
and time consuming. If I have a vba code to do this, it would be a great gift
for me. I am sure there should be people around here, who shall get it done
just like that...

Thanks in advance for any help.
Ads
  #2  
Old March 2nd 10, 02:00 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Find a String in Email Attachment(s)

You need to save the attachment to the file system before you can do
anything with it. For PDF files you need to find out how to load and search
a file like that, that's nothing to do with Outlook.

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


"Ma10kumar" wrote in message
...
Good day to You!

Product: Outlook 2003 exchange server

Issue: I have a macro, which saves any attachment to a particular location
based on the input available in subject line. Currently, subject line is
manually changed to provide the required input to the macro. However, I
would
like to (but don't know) to write a vba program for searching our branch
offices names in the attachments and change the subject line with the
branch
name found in the attachment. The attachment always will be in pdf format
only.

Daily I need to change the subject line for around 50 emails and its
boring
and time consuming. If I have a vba code to do this, it would be a great
gift
for me. I am sure there should be people around here, who shall get it
done
just like that...

Thanks in advance for any help.


 




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
How to find out a relation between the embedded images and the attachment collection of an email DPM Outlook and VBA 4 November 22nd 08 12:58 PM
search for string of contacts by a string of email addresses Kerm Rudgeon Outlook - Using Contacts 2 October 21st 08 07:51 PM
Outlook 2003 - cannot find a string of numbers Hello_It''''s_Me-CA Outlook - General Queries 1 February 7th 07 09:59 AM
Problem using Myitem.UserProperties.Find("string") John E. Outlook and VBA 3 January 3rd 07 04:12 PM
Rule to filter e-mails with a specific text string in an attachment [email protected] Outlook - General Queries 2 April 19th 06 09:38 AM


All times are GMT +1. The time now is 08:00 PM.


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.