Use VBA to Convert a Legacy PPT in PowerPoint 2013
Question details
Invoke PowerPoint's legacy presentation conversion from VBA rather than using Save As alone.

- Product
- Microsoft PowerPoint 2013
- Device & OS
- not provided
- Scenario
- A user wants to convert an open legacy PPT presentation to PPTX programmatically.
- Observed behavior
- The Convert button appears when PowerPoint determines that a presentation needs conversion; saving as PPTX may not perform the same internal conversion.
Open the legacy PPT in PowerPoint 2013 and choose a writable output folder and PPTX filename. Enable macros if needed, and store the conversion macro separately if it must be retained: PPTX files do not retain VBA code.
Call Convert2 on the Active Presentation
Use PowerPoint's Convert2 method to invoke conversion on the presentation currently open in PowerPoint.
In PowerPoint, select File > Open and open the legacy .ppt file you want to convert.
Press Alt+F11, then select Insert > Module in a VBA project where you can store the macro.
Enter this code, replacing the path with your desired output location: Sub ConvertLegacyPPT() ActivePresentation.Convert2 "C:\temp\convertedfile.pptx" End Sub
Return to the legacy presentation so it is active, then run ConvertLegacyPPT from the VBA editor or the Macros dialog. Check the specified folder for the converted PPTX.

Work With Legacy Presentations in WPS Office
WPS Office is a free, lightweight Office alternative with a familiar interface and support for PowerPoint formats, making it easy to migrate presentation work. PowerPoint's VBA Convert2 method is specific to Microsoft PowerPoint and is not fixed or replaced by WPS Office.

Frequently Asked Questions
How do I choose the converted file's location?
Replace the path in ActivePresentation.Convert2 with the full path and PPTX filename you want, such as "C:\temp\convertedfile.pptx". Make sure the folder exists and is writable.
Why doesn't the Convert button appear for every presentation?
PowerPoint shows Convert when it determines that conversion is needed. A legacy .ppt file is a common candidate, but the filename extension alone does not guarantee that the button will appear.
Is saving a PPT as PPTX the same as using Convert?
Not necessarily. Convert may update the presentation's internal structure differently from File > Save As, even when both operations produce a PPTX file.
Will the converted PPTX retain VBA macros?
No. PPTX is not a macro-enabled format, so keep any VBA code you need in a separate macro-enabled presentation or another suitable VBA project.




