Editing a Macro
Sometimes a macro does not work as you expect, and you need to modify it. You can rerecord the macro to correct the problem, or because macros are instructions written in Microsoft Visual Basic for Applications (VBA), you can edit it in the Visual Basic Editor.
Word macros are stored in modules within a Visual Basic macro project that is stored in a document or template. To edit a macro, you display the Macros dialog box, click the macro, and then click Edit. The Visual Basic Editor program window opens, and you can then select the module you want to work on and make changes.
When you no longer need a macro, you can delete it from ...
Get Microsoft® Office Word 2003 Step by Step now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.