I recieve a report by email every day. Currently, I open the email and click on File-Save Attachments and then select the shared folder where I want to store the information (I am prompted to replace the existing document to which I answer yes). Is there a way to automate this process.
Last edited by pdmkh; 11-20-2009 at 10:36 AM.
Try this.
Add this core to ThisOutlookSession in the VBA editor (Alt F11) (amend as necessary)
Set up a rule in Outlook which identifies the messages (sender, title, attachments etc.Code:Sub MySave(MyItem As MailItem) Dim MyAttachment As Attachment For Each MyAttachment In MyItem.Attachments MyAttachment.SaveAsFile ("C:\temp\" & MyAttachment.FileName) Next MyAttachment End Sub
Get the rule to run the above script as the action.
Martin
Eighty Twenty Spreadsheet Automation http://homepage.ntlworld.com/martin.rice1/ for all your Excel customisation and consulting needs.
If my solution has saved you time and/or money, please consider donating to Cancer Research UK.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks