Excelgoodies logo +1 236 900 6300

How to Convert PowerPoint Presentation PPT to PDF using VBA ?

 

PDF is always the universal format for sending the files. With lot of versions of MS Office and other Office suites around, it is always better to circulate the Deck as a PDF
 

The following snippet converts the Presentation to a PDF and saves in the same folder of the PPT
ActivePresentation.ExportAsFixedFormat

ActivePresentation.Path ; “\” ;
ActivePresentation.Name ; “.pdf”,
ppFixedFormatTypePDF, ppFixedFormatIntentPrint


Learn to write VB Coding or Macros in Excel and, automate your routine task with our specialized course on Excel Automation here.

Learn how to write VB Macros in Microsoft Excel with our specialized course on Excel Automation here.

 

Happy Excelling
Team Excelgoodies

VBA & Python