-
From the Tools section of the action bar, click Macros....
- In the Macros dialog box, to set the current macro library for storing the macro, do either of the following:
- From the Current macro library of document list, select where the macro is stored.
- To select another macro library, click Macro libraries....
- Optional: From the Macro libraries dialog box, add another macro library:
- From the Library type list, select one of the library types available.
- To set the current macro library for storing the macro, do either of the following:
- From the Current libraries list, select a macro library.
- To search for and select a macro library, click Add existing library.
- From the Available macros list, select a macro.
-
Click the Run button to replay the selected
macro.
Note:
Running a macro from the VBA editor is not recommended as it can lead to unexpected behaviors in some rare cases. To debug a macro written in VBA, set your breakpoints in the VBA editor and run the macro as explained before.
|