Applies ToPowerPoint for Microsoft 365 PowerPoint 2024 PowerPoint 2021 PowerPoint 2019 PowerPoint 2016

Create or edit a macro

To create or edit a macro by using Visual Basic for Applications, do the following:

  1. On the View tab, choose Macros.

  2. In the Macro dialog box, type a name for the macro.

  3. In the Macro in list, click the template or the presentation that you want to store the macro in.

  4. In the Description box, type a description for the macro.

  5. Click Create to open Visual Basic for Applications.

Important: This feature isn’t available in Office on a Windows RT PC. Want to see what version of Office you're using?

Run a macro

For information about how to run a macro in recent versions of PowerPoint, see Run a macro in PowerPoint.

Need more help?

Want more options?

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