Running a Macro

You can run a macro.

  1. From the Tools section of the action bar, click Macros....
  2. 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....
  3. Optional: From the Macro libraries dialog box, add another macro library:
    1. From the Library type list, select one of the library types available.
    2. 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.
  4. From the Available macros list, select a macro.
  5. 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.