• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

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.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint