VBA & Macro Problems

Fix PowerPoint for Mac VBA SaveAs PPTX Without Macro Warning

John WilsonJohn Wilson Nov 13, 2026 868 views

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.

Fix PowerPoint for Mac VBA SaveAs PPTX Without Macro Warning
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.
Before you start

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.

Solution 1Recommended

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.

1
Open the Visual Basic Editor

In PowerPoint for Mac, go to Tools > Macro > Visual Basic Editor to open the module containing your SaveAs routine.

2
Use the complete Mac path and filename

Replace FileName:=sName with FileName:="/Users/yourname/Documents/" & sName & ".pptx", adjusting the folder to an existing Mac location.

3
Keep the Open XML file format

Set FileFormat:=ppSaveAsOpenXMLPresentation to save the presentation as a macro-free .pptx file.

4
Run the macro and verify in Finder

Run the SaveAs macro, open Finder, and confirm the .pptx file appears at the specified path.

Saved without macro warning: Passing the full path and explicit extension prevents the missing-file behavior and creates a clean macro-free PPTX.
Free Microsoft Office alternative

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. 1. Open WPS Presentation on Mac: Launch WPS Office and open the .pptm or .pptx file in WPS Presentation.
  2. 2. Choose Save As: Click Menu > Save As and select PowerPoint Presentation (.pptx) as the format.
  3. 3. Save to your destination: Choose the folder, enter a filename, and click Save to create a macro-free .pptx.
Opens and saves .pptx and .pptm files with Microsoft PowerPoint format compatibilityFree and lightweight Office suite for macOSFamiliar ribbon design and menu layout for an easy switchNo dependency on incomplete PowerPoint for Mac VBA for daily conversionsSeamless migration from PowerPoint files and templates
microsoft office alternative - wps office

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.