Open a macro (macro: An action or a set of actions that you can use to automate tasks. Macros are recorded in the Visual Basic for Applications programming language.) in the Visual Basic Editor (Visual Basic Editor: An environment in which you write new and edit existing Visual Basic for Applications code and procedures. The Visual Basic Editor contains a complete debugging toolset for finding syntax, run-time, and logic problems in your code.) to make corrections, remove unnecessary steps, rename or copy individual macros, or add instructions that you cannot record in Microsoft Word.
- On the Tools menu, point to Macro, and then click Macros.
- In the Macro name box, click the name of the macro you want to edit.
If the macro doesn't appear in the list, select a different document or template (template: A file or files that contain the structure and tools for shaping such elements as the style and page layout of finished files. For example, Word templates can shape a single document, and FrontPage templates can shape an entire Web site.) in the Macros in box.
- Click Edit.