* Command only available on the Windows platform
Runs VBA macros from the command bar (short for "visual basic for applications run").
Note: This command is meant for use by macros and programs.
Accessing the Command
command bar: -vbarun
: -VbaRun
Prompts you in the command bar:
Macro name: (Enter the name of a VBA macro)
- If the macro is part of a project and a module, enter its name in this format:
project.module.macro
- If the DVB file is not loaded into BricsCAD, enter the name of the macro in this format:
project.dvb!project.module.macro
Command Options
Option |
Description |
Macro name |
Names the VBA macro to be run. |
Related Commands
AddInMan - loads and unloads VBA functions through a dialog box.
AppLoad - selects external routines to load when BricsCAD starts.
Netload - loads a .NET application.
VbaLoad and -VbaLoad - loads VBA projects.
VbaMan - manages VBA projects.
VbaNew - starts a new VBA project.
VbaRun - runs VBA macros.
VbaIde - opens the VBA integrated development environment.
VbaSecurity - depending on the selected security level (Low, Medium or High) VBA macros are allowed to run automatically or not.
VbaUnload - unloads VBA projects.