Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel macro that will move Outlook e-mail attachments to local folder

Status
Not open for further replies.

3PipeProblem

Technical User
Jun 16, 2011
2
0
0
US
We have an excel macro that reads and process data files located in local computer directory. These files are outlook e-mail attachments and are currently hand copied from a personal e-mail folder (placed there by email rule) to the local computer directory. This process was fine when there were only two to three e-mails per week, but now we are getting more than five files per day. Since we are not allowed to run outlook macros, I want to write a excel macro or VB program to scan outlook personal mail folder for messages containing e-mail attachments and save them to a local computer directory for processing by the excel program.Any ideas
 


Hi,

Set a reference to the Microsoft Outlook Object Library in Tools > References in the VB Editor.

Use CreateObject to create an Outlook application object.

Then code your outlook application objects' properties & methods.

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top