Datasheet
530
Figure 1-2:
Assigning
a macro to
a keyboard
shortcut.
If you click the Button button instead, the Word Options dialog box
appears with the Quick Access Toolbar tab selected. Then you can
create a button on the Quick Access toolbar to run the macro. For more
information, refer to Book VIII, Chapter 1.
6. Set the Store Macro In drop-down list to the location where you want
to store the macro.
The default setting stores the recorded macro in the Normal.dotm
template so that it’s always available. The other choices available in this
drop-down list are storing the macro in the document that you were
working on when you started the macro recorder or storing the macro
to the template that the document is based on (if it is based on a tem-
plate other than Normal.dotm).
7. Type the keystrokes and click the Ribbon commands you want to
record in the macro.
8. Type the keystrokes and Ribbon commands you want to record in the
macro.
To record the BoldItalic macro, for example, press Ctrl+B and then
press Ctrl+I.
9. If you have to stop recording temporarily, click the Pause button.
Click it again to resume recording.
You might forget how to do something, for example, especially if you
skipped Step 2. If you click the Pause button, you can call up Word’s Help
command, look up and read the procedure for whatever task you forgot,
dismiss Help, and click the Pause button again to resume recording.
10. After you finish recording the macro, click the Stop Recording button.
Word adds the macro to the template or document. You’re almost done.
Doing the Macro Recorder Dance
50_487662-bk09ch01.indd 53050_487662-bk09ch01.indd 530 4/15/10 9:18 PM4/15/10 9:18 PM