Skip to content

SunsetQuest/vba_outlook_save_pdf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note: This project was forked from cavo789/vba_outlook_save_pdf. It just has some updated instructions and resolves an issue I was having with the VBA.

Enhanced Guide: Saving Selected Emails as PDFs in Outlook

Enhanced Banner

Elevate your Outlook experience: seamlessly convert and save emails as PDFs directly to your disk with our macro.

Overview

Imagine effortlessly saving one or multiple emails from your Outlook inbox directly as PDFs with just a few clicks. This guide introduces a custom-built macro that integrates with your Outlook client, enabling you to save selected emails into a designated folder on your hard drive. Whether you're archiving important correspondence or organizing project-related emails, this tool simplifies the process, allowing for up to 250 emails to be saved as PDFs in a swift operation.

Contents

Installation Guide

Transform your Outlook into a powerful email-to-PDF converter in a few simple steps:

  1. Integrating the VBA Code:

    • Activate the Visual Basic Editor in Outlook by pressing ALT-F11.
    • Navigate to Menu Bar -> Insert, then choose "Module" to create a new module.
    • Obtain the module.bas script from here and paste it into the newly created module.
    • Exit the Visual Basic Editor.
  2. Adding a Custom Button to the Ribbon:

    • Customize your Outlook Ribbon by right-clicking it and selecting Customize The Ribbon.
    • In the "Choose commands from:" dropdown, select Macro.
    • Add a New Tab (with a New Group within it) on the right side.
    • Locate Project1.SaveAsPDFfile in the command list, select it, and hit the Add button.
    • Confirm your changes by clicking OK.
  3. Customizing Your Ribbon (Optional):

    • Personalize the name of the new ribbon tab for easy access.

Prerequisite: Ensure Microsoft Word is installed on your computer for the macro to function.

How to Use

  1. Select the Emails: Choose one or multiple emails you wish to save as PDFs.
  2. Activate the Macro: Click on the SaveAsPDFfile button on your custom ribbon.
  3. Specify Save Location and Preferences: Follow the prompts to select a destination folder for the PDFs and choose whether to delete the original emails post-conversion.
  4. Completion: Sit back and watch as your selected emails are transformed and saved as PDFs on your disk.

Demonstration

License

This tool is freely distributed under the MIT License, promoting open and unrestricted use while encouraging contributions and modifications.

About

Do you need to export one or more emails to your hard disk as PDF files and remove these emails (or not) once done ? Here is my Outlook macro for this. My usage: take a copy of all important emails on my hard disk for archiving and backup on external disk. Once the backup is completed, the emails are deleted.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • VBA 100.0%