Do you often redo many tasks that require the same, sometimes lengthy, series of steps? Rather than repeat the same actions, you can work faster by recording the entire series of keystrokes and commands in a custom command, or macro . A macro is a sequence of commands and entries that can be activated collectively by clicking a toolbar button, clicking a menu command, typing a key combination, or clicking the Run command in the Macros dialog box. Macros are a perfect way to speed up routine formatting, combine multiple commands, and automate complex tasks. The macro recorder archives every mouse click and keystroke you make until you stop the recorder. Any time you want to repeat that series of actions, you "play," or run, the macro. Record a Macro -
| Click the Tools menu, point to Macro, and then click Record New Macro. | -
Enter a macro name . Macro names must start with a letter and can be as many as 80 letters and numbers . Macro names cannot contain spaces, periods, or other punctuation. -
| Assign a toolbar button or keyboard shortcut key to the macro. | -
| Select where you want to store the macro. | -
| Enter a detailed description of the macro. | -
| Click OK. | -
Perform each command or action to complete the task. The macro recorder doesn't record mouse movements within a document. For example, you cannot use the mouse to select, copy, or move objects. Instead, you must use keystrokes. -
| Click the Stop Recording button on the Stop Recording toolbar. | Run a Macro -
| Click the Tools menu, point to Macro, and then click Macros. | -
| If necessary, click the Macros In list arrow, and then click the document that contains the macro you want to run. | -
| Click the name of the macro you want to run. | -
| Click Run. | Delete a Macro -
| Click the Tools menu, point to Macro, and then click Macros. | -
| Select the macro you want to remove. | -
| Click Delete, and then click Yes to confirm the deletion, and close the dialog box. | Did You Know? There is an appropriate location to store macros . If you want a macro to be available in all your Word documents, store it in the Normal template. If you want a macro available in all your worksheets, store it in the Personal Workbook. | |