Microsoft Office Tutorials and References
In Depth Information
Save Time with Macros
Save Time with
If you click Keyboard, the Customize Keyboard dialog box, shown in Figure
7-8, appears. In the “Press new shortcut key” section, press the combination of
keys you want to use to run your macro. If that keystroke combination already
belongs to another shortcut, Word tells you; Figure 7-8 explains your options.
Once you’ve settled on a keystroke combo you like, click Assign.
If the keystroke combination you want to
use for your macro already does another
job, Word tells you in the “Currently
assigned to” section (circled). You can try a
combination of different keys, or you can
overwrite the current task with your new
Word starts recording your macro. You know it’s recording because the pointer
changes to show an arrow with an antique, 1980s-style cassette. (Memo to
Microsoft: Does that icon even mean anything to people under 30?)
5. Go through the sequence of actions you want Word to record—in other
For example, to record a macro to find all instances of Robert X. Smith & Sons
with BobSonCo, you’d select Home ➝ Replace to open the Find and Replace box,
where you’d type Robert X. Smith & Sons in the “Find what” box and BobSonCo
in the “Replace with” box; click Replace All; click OK; and then click Close.
6. When you’ve completed the task youwant themacro to automate, stop
recordingbyselectView ➝ Macros ➝ StopRecording(Alt,W,M,R).
Word stops recording your macro.
Now your macro is ready to use.
Tip: Don’t rush as you record a macro. Word records your actions—not how long it takes you to do them.
And if you make a mistake, don’t worry. You can always delete the faulty macro (page 197) and start again.