You can record a macro (macro: An action or a set of actions you can use to automate tasks. Macros are recorded in the Visual Basic for Applications programming language.) in Microsoft PowerPoint, or you can create it in the Microsoft Visual Basic Editor (Microsoft Visual Basic Editor: An environment in which you can edit macros that you've recorded and write new macros and Visual Basic for Applications programs.).
- On the slide, select the text or object you want to use to run the macro.
- On the Slide Show menu, click Action Settings.
- Do one of the following:
-
To run the macro by clicking the chosen object during the slide show, click the Mouse Click tab.
-
To run the macro by moving the mouse pointer over the object, click the Mouse Over tab.
- Click Run macro, and then select the macro you want from the list.
Tip
To preview how your macro will run during the slide show, click Slide Show
at the lower left of the PowerPoint window.