Save a presentation that contains Visual Basic for Applications (VBA) macros

Note: It is not possible to save a Microsoft PowerPoint 2010 presentation that contains Visual Basic for Applications (VBA)) macros with a file name extension that ends with an "x" (such as .pptx or .potx). Presentations with file name extensions that end with an "x" do not contain macros, and therefore cannot contain VBA code.

To save a presentation that contains VBA macros, do the following:

  1. Click the File tab, and then click Save As.

  2. In the Save as type list, select one of the following:

    • PowerPoint Macro-Enabled Presentation    A presentation with a .pptm file name extension that can contain VBA code.

    • PowerPoint Macro-Enabled Show    A presentation with a .ppsm file name extension that includes pre-approved macros that you can run from within your presentation.

    • PowerPoint Macro-Enabled Design Template    A template with a .potm file name extension that includes pre-approved macros that you can add to a template and use in your presentation.

  3. Click Save.

Share Facebook Facebook Twitter Twitter Email Email

Was this information helpful?

Great! Any other feedback?

How can we improve it?

Thank you for your feedback!

×