How to Make a Macro in Word 2010
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.
In the View tab, choose Macros→Record Macro.
The Record Macro dialog box appears.
Give 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.
Type 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.
Click 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.
To stop recording, choose Macros→Stop Recording.
The macro is saved.
To 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.
To review macros you’ve made, choose Macros→View Macros. You can manually run a macro from the Macros dialog box, or you can rename, edit, or delete the macros.