Fix PowerPoint for Mac VBA SaveAs PPTX Without Macro Warning
Question details
The user wants to automate saving a macro-enabled PowerPoint file (.pptm) as a macro-free .pptx on macOS, but the VBA SaveAs call does not create the file when only a filename is supplied.

- Product
- Microsoft PowerPoint for Mac
- Device & OS
- macOS
- Scenario
- Automating the conversion of a combined .pptm presentation into a macro-free .pptx without triggering the macro warning.
- Observed behavior
- PowerPoint shows the new name and says it was saved, but no file appears; manual Save As as .pptx displays the macro warning.
Confirm the .pptm file is saved and note the full destination folder path on your Mac. Make sure the target folder already exists before running the VBA SaveAs code.
Pass the Full Mac File Path in the VBA SaveAs FileName
Use this when your SaveAs macro runs but PowerPoint for Mac creates no file because only a name is supplied.
On PowerPoint for Mac, VBA requires a complete, existing path and an explicit .pptx extension when saving as a macro-free Open XML format.
In PowerPoint for Mac, go to Tools > Macro > Visual Basic Editor to open the module containing your SaveAs routine.
Replace FileName:=sName with FileName:="/Users/yourname/Documents/" & sName & ".pptx", adjusting the folder to an existing Mac location.
Set FileFormat:=ppSaveAsOpenXMLPresentation to save the presentation as a macro-free .pptx file.
Run the SaveAs macro, open Finder, and confirm the .pptx file appears at the specified path.
Manually Save the Presentation as .pptx in PowerPoint for Mac
Use this for one-off conversions or when the VBA SaveAs path still cannot be resolved.
Avoid PowerPoint for Mac VBA SaveAs Issues with WPS Office
When PowerPoint for Mac VBA lets you down, WPS Office gives you a free, lightweight way to open, edit, and save PowerPoint-compatible .pptx and .pptm files with a familiar interface and seamless migration.
- 1. Open WPS Presentation on Mac: Launch WPS Office and open the .pptm or .pptx file in WPS Presentation.
- 2. Choose Save As: Click Menu > Save As and select PowerPoint Presentation (.pptx) as the format.
- 3. Save to your destination: Choose the folder, enter a filename, and click Save to create a macro-free .pptx.

Frequently Asked Questions
Why does PowerPoint for Mac VBA SaveAs not create a file when I only pass a name?
PowerPoint for Mac VBA requires the full Mac path and .pptx extension in the FileName parameter. If only a name is supplied, the file may appear saved but not be written to an expected location.
Which FileFormat should I use in PowerPoint VBA to save as macro-free PPTX?
Use FileFormat:=ppSaveAsOpenXMLPresentation when saving a presentation as .pptx. This creates a macro-free PowerPoint Open XML file.
Does WPS Office support PowerPoint for Mac VBA macros?
WPS Office is a free PowerPoint alternative that opens and saves .pptx and .pptm files, but it is not designed to run every PowerPoint for Mac VBA macro. For daily file conversion, you can use WPS Presentation.
Will saving a .pptm as .pptx remove macros?
Yes, .pptx is a macro-free format. The resulting file will not carry the VBA macros from the original .pptm.
Can WPS Office open .pptm files on Mac?
Yes, WPS Presentation supports PowerPoint formats, including .pptm, with high compatibility, and can save the file as .pptx.




