Excelgoodies logo +44 (0)20 3769 3689

LEARN THIS HANDS ON

Excel VBA Programming

GMT . Live Online FILLING FAST
View all upcoming batches
How to Convert PowerPoint Presentation PPT to PDF using VBA ?

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

New

Next Batches Now Live

Power BIPower BI
SQLSQL
Power AppsPower Apps
Power AutomatePower Automate
Microsoft FabricMicrosoft Fabrics
AzureAzure Data Engineering
Explore Dates & Reserve Your Spot → Reserve Your Spot →