Macro to save all attachments from selected emails in Outlook
- Creates separate folders for each email based on the email subject.
- Handles invalid characters in filenames and folder names.
- Handles errors gracefully, allowing for continued execution.
- Customizable to suit various needs.
- Open Outlook.
- Press
Alt + F11
to open the VBA editor. - Import the
.bas
file from the GitHub repository into your project. - Select the emails whose attachments you want to save, and run the macro. Default destination is C:\EmailAttachments.