To Run a VBA Macro
- At the Command prompt, enter vbaman.
- In the VBA Manager dialog box, click Macros.
- 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
- Respond to the dialog box or any prompts that are displayed by the macro.
To Run a VBA Macro from the Command Prompt
- At the Command prompt, enter -vbarun.
- Enter the name of the macro to run and press Enter.
The macro name needs to be provided in the syntax <project!module.macro>.
- Respond to the dialog box or any prompts that are displayed by the macro.
To Run a VBA Macro with AutoLISP
- -VBARUN command - Specify the macro to run using the syntax
<project!module.macro>.
For example, (command "_-vbarun" "mytools.dvb!utilities.selectcircles")
- vl-vbarun function - Run the provided macro in the specified project.
For example, (vl-vbarun "mytools.dvb!utilities.selectcircles")
Use one of the following: