Outlook Attachment and Picture Extractor Macro

This macro downloads all attachments and image-files from any current selection of mails in Outlook.


- After the download the attachment is removed
- A link to the file is added to the body of the mail.
- Main purpose is to minimize the size of your mailbox.
- It´s possible to Download to a local or a network folder.
- Outlook Macro works for Outlook 2010 as well as for 2007.

To use it:

- In Outlook, point to Macro on the Tools menu, and then click Visual Basic Editor.
- Open the folder "Microsoft Office Outlook Objects"
- Double Click on ThisOutlookSession
- Replace all code in the file with the code from VbaProject.OTM in this Project

To Add it as a Button in a toolbar in Outlook:

- Got to Tools -> Customize -> Commands -> Macros
- Drag and drop "Project1.ThisOutlookSession.DownloadAndRemoveAttachments onto Toolbar

To change the name

- Select the Button in the Toolbar and choose "Modify Selection" -> Name

Last edited Nov 19, 2012 at 7:03 AM by basm, version 5