To Run a VBA Macro

To Run a VBA Macro

  1. At the Command prompt, type vbaman and press Enter.
  2. In the VBA Manager dialog box, click Macros.
  3. In the Macros dialog box, select the macro you want to run. Click Run.

    Procedures listed in the Macro Name box use the following syntax:

    project!module.macro

  4. Respond to the dialog box or any prompts that are displayed by the macro.

To Run a VBA Macro from the Command Prompt

  1. At the Command prompt, type -vbarun and press Enter.
  2. Enter the name of the macro to run and press Enter.

    The macro name needs to be provided in the syntax <project!module.macro>.

  3. Respond to the dialog box or any prompts that are displayed by the macro.

To Run a VBA Macro with AutoLISP