Collection of VBA scripts for Outlook to automate tasks.
This script is heavily based off of the one located here (https://www.extendoffice.com/documents/outlook/1166-outlook-save-all-attachments.html#VBA), except I cleaned it up, provided some optimizations, and solved the issue of downloading attachments from more than 250 emails.
- Create a folder in your Documents folder called Attachments
- Open VBA in Outlook using Alt + F11
- Insert a new Module using Insert -> Module
- Paste this file into code editor
- Open Tools -> References, find "Microsoft Scripting Runtime" and make sure it's checked
- Select emails you want to process in Outlook with your mouse
- Press the
▶️ button in the toolbar or F5 on your keyboard - A message will appear saying "All Done!" when it is finished