How to Create a Macro in PowerPoint

A macro is a sequence or code programmed to perform a specific task or function. Microsoft PowerPoint, a presentation program, includes the option to create a macro using the Visual Basic for Applications (VBA) developer tool. An example is a macro that you create that allows for the "Save As" dialog box to automatically appear in PowerPoint after each time you choose to create a new slide. Learn how to create a macro in PowerPoint, and you can continue to add macros to perform common tasks more quickly.

Things You'll Need

  • PowerPoint 2003 or 2007
Show More

Instructions

  1. PowerPoint 2007

    • 1

      Open the Microsoft PowerPoint 2007 application and the click on the "Window" icon at the top of the screen. Click on the "PowerPoint Options" button.

    • 2

      Click on the "Popular" option from the left menu pane and then check on the "Show Developer tab in the Ribbon tab" box. Click on the "OK" button.

    • 3

      Click on the "Developer" tab from the top menu and the click on the "Macro Security" button. Click on the "Enable all macros" option and then click on the "Trust access to the VBA project object model" option. Click on the "OK" button.

    • 4

      Click on the "Window" button again from the top of the application and then click on the drop-down menu next to the "Save As" button. Click on the "Other Formats" button.

    • 5

      Click on the "PowerPoint Macro-Enabled Presentation" and then click on the "Save" button. Click on the "Developer" tab again and then click on the "Macro" button.

    • 6

      Type a name for your macro in the "Macro Name" field and the type in a description in the "Description" field. Click on the "Create" button.

    • 7

      Type in the command you want your macro to do between the "Sub" and "End Sub" commands. You can also copy and paste any macro codes that you may find online.

    • 8

      Press the "Ctrl" and "S" keys at the same time to save your macro. Click on the "File" option and the click on the option to close and return back to PowerPoint.

    PowerPoint 2003

    • 9

      Open your Microsoft PowerPoint 2003 application from your computer. You can open a new PowerPoint file or use an existing one when you start to create your new macro.

    • 10

      Click on the "Tools" option from the top tool bar menu and then click on the "Macro" option. Click on the "Record New Macro" option to create a new macro.

    • 11

      Enter the name of your macro in the "Macro Name" field. Add the location of where you want to store the macro in the "Store Macro in" box. Add a description for your macro in the "Description" field.

    • 12

      Click on the "OK" button. Perform the action that you want recorded as a macro and then click on the "Stop Recording" button from the Stop Recording toolbar when you're finished.

    • 13

      Try performing the action you created with your macro to make sure it works. If it didn't record the way you wanted, go back to the Macro menu and edit the macro you just created.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured