How to Make a Macro in Word 2010

By Dan Gookin

A macro is a teensy program you can write in Word 2010 that automates things, such as repetitive keystrokes or tasks. You start making a macro by recording it.

193904.image1.jpg

1In the View tab, choose Macros→Record Macro.

The Record Macro dialog box appears.

2Give the macro a name in the Record Macro dialog box.

Click the Keyboard button to assign a keyboard shortcut to the macro. This approach is easier than choosing the Button option, which is more work.

3Type a keyboard shortcut combination.

Most of the good combinations are already used by Word, though many of the Ctrl+Alt+letter combinations aren’t. Click the Assign button.

4Click the Close button.

You’re now recording a macro in Word. Everything you do is recorded, from typing text to choosing commands and setting options.

193906.image3.jpg

5To stop recording, choose Macros→Stop Recording.

The macro is saved.

6To play back the macro, press the keyboard shortcut you assigned.

Word repeats all actions taken while the macro was being recorded, playing them back as though you just issued the commands or typed the text yourself.