Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Macros can be created for PowerPoint using Visual Basic for Applications (VBA). A presentation that contains VBA macros must be saved with a different file-name extension than a regular presentation file (such as .pptx, .potx, or .ppsx) that has no macros in it.

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 show 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.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×