Microsoft Office Tutorials and References
In Depth Information
Save Time with Macros
Save Time with
Deleting a style from a template
To remove a style from a template, start by selecting Home and clicking the Styles
section’s lower-right Styles button (Alt, H, FY). When the Styles pane opens, go to
the bottom and click the Manage Styles button. This opens the Manage Styles dialog
box; if necessary, select the Edit tab.
At the bottom of the box, turn on the radio button labeled “New documents based
on this template”. Then select the style you want to delete and click the Delete button.
Word asks you to confirm the deletion; click Yes, and the style disappears. Click OK
to close the Manage Styles box.
Save Time with Macros
For certain tasks you do a lot, a macro can save you time and spare you the tedium
of doing the same repetitive task over and over (and over) again. Macros let you
automate your work, creating your own custom buttons or keyboard shortcuts for
a specific chore. For example, say your company recently changed its name from
Robert X. Smith & Sons to BobSonCo. Whenever you work on a document, you
need to make sure that the new name replaces the old one. You could do a Find and
Replace (page 41), typing in the old name and the new one each time. But by
recording a macro, you can create a button, add it to the Quick Access toolbar, and replace
all instances of the old name with a single click—and then get on with your work.
Recording a Macro
In Word 2007, macros were hidden away on the Developer tab, which doesn’t
appear in the default version of the ribbon. Word 2010 brings macros out in the open,
putting them on the View tab. (Why View? Who knows? Maybe because there was
room there. Macros are really all about automating tasks, not viewing a document.)
Recording a macro means telling Word the sequence of actions (keystrokes and
mouse clicks) you want it to take when you click a certain button or press a certain
combination of keys. Here’s how to cook one up:
1. SelectView ➝ Macros ➝ RecordMacro(Alt,W,M,R).
The Record Macro dialog box, shown in Figure 7-6, opens.
Give the macro an easy-to-remember, descriptive name, like “RemoveFormat-
ting” or “ReplaceOldName” (macro names can’t contain spaces).
Note: If you give your new macro the name of an existing macro, your new macro will overwrite the