Using Macros in Word 2007

In Word 2007, you can automate frequently used tasks by creating and running macros. A macro is a series of commands and instructions that you group together as a single command to accomplish a task automatically.

Recording a Macro

To record a macro:

  1. Click the Developer tab.
  2. Click Record Macro.
  3. In the Macro name box, type a name for the macro.
  4. In the Store macro in box, click the template or document in which you want to store the macro.
  5. In the Description box, type a description of the macro.
  6. Do one of the following:
  7. Click Close to begin recording the macro.
  8. Perform the actions that you want to include in the macro.

    Note:  When you record a macro, you can use the mouse to click commands and options, but not to select text. You must use the keyboard to select text.
  9. To stop recording your actions, click Stop Recording in the Code group.

Viewing Keyboard Shortcuts

To view the currently assigned keyboard shortcuts for macros:

  1. Click the Office Button > Word Options > Customize > Customize.
  2. Under Categories, scroll down to Macros and click it.


Moving Your Macros to Another File

You can use any macro you create in any file by moving the macro. To move a macro:

  1. Click the Office ButtonWord Options > Customize > Customize.
  2. Under Categories, scroll down to Macros and click it. You'll see all macros in the right panel.
  3. Find one of yours and click it.
  4. Change where you store the macro to the current file.

Programs and information provided by