Skip to Content

VBARUN command

The VBARUN command is used to run a VBA Macro.

Command Access:

Ribbon : Manage > Applications >Runs a VBA macro
Menu : Tools> Macro > Macros
Command: VBARUN

Function Description:

Uses could use this command to run, edit or delete VBA Macros, as well create a new Macro, set VBA options and display "VBA manager" dialog box.

Relative Glossary:

Macro name
Specify the name of a macro that to be run, edited, deleted or created.
Macro list
List all selected drawings in "Macros in" or all macros in the project.
Macros in
Specify all projects or drawings in the macro list. If there is no project or drawing in the list, users could click "VBA Manager…" to load the project or drawing.
Description
Describe the selected macro.
Run
Run the selected macro.
Step into
Display the "Visual Basic Editor" and begin to run a macro. The running operation will stop at the first row of executable code.
Edit
Display the "Visual Basic Editor" and selected macro.
Create
Create a macro by specified name in the "Macro Name" and display the "Visual Basic Editor" dialog box, as well the empty application frame of the new macro.
If there is no specified project or drawing, it displays "select project" dialog box.
If selecting "Yes", all existing code will be deleted and it will create a new empty macro by specified name.
Delete
Delete selected macro.
VBA Manager
Display the VBA Manager Dialog box.
Options
Display the VBA Option dialog box.