Microsoft Office Tutorials and References
In Depth Information
Topic A: Recording and running macros
Exhibit 3-4: The Macros dialog box
If you added a custom macro button to the Quick Access toolbar when you created a
macro, you can click the button to run the macro.
In addition, you can create a command button on the Ribbon that you can click to run a
macro. To do so:
1 Open the Word Options dialog box.
2 Click Customize Ribbon.
3 Under “Customize the Ribbon,” select the tab on which you want to add the
macro, and then click New Group. Click Rename and enter a custom name for
4 From the “Choose commands from” list, select Macros.
5 Select the macro you want to add as a command button and click Add to add it
to your custom group.
6 Click OK.
You can also specify that a macro will run when you open a document. To do so,
change the macro’s name to AutoOpen. When you open a document that uses a template
containing the AutoOpen macro, the macro will run automatically.