Microsoft Office Tutorials and References
In Depth Information
2 In the Record Macro dialog box, in the Macro Name text box, enter
a name that describes the purpose of the macro that you want to
You can use letters, numbers, and underscore characters in the
name. Spaces and other characters are not allowed.
3 Click the Store Macro In list box and choose whether to store the
macro in the Normal.dotm template, the current document, or the
template on which the current document is based (if that is differ-
ent from Normal.dotm).
4 If you want to store a description of the macro as a comment in the
macro’s code, type text in the Description text box.
5 If you want to create a button on the Quick Access Toolbar or to
assign a keyboard shortcut to run the macro, click the correspond-
ing button in the Assign Macro To section. Otherwise, click OK.
6 Perform all the actions that you want the macro to do, such as
typing and formatting text, clicking commands, or inserting graph-
ics or other objects.
7 On the View tab, in the Macros group, click the drop-down arrow in
the bottom part of the Macros button, and then, on the menu that
appears, click Stop Recording. Alternatively, if the macro recording
icon is displayed on the status bar, click that icon.
CAuTIon If you click one of the buttons in the Assign Macro
To section, the macro recorder will start immediately after you
close the Customize Quick Access Toolbar dialog box or the Customize
Keyboard dialog box. Make all the necessary entries in the Record
Macro dialog box before you click either button.