Command Entry: -VBARUN

← Prev | ↑ Chapter | Next → | Index | Symbols

Command Entry: -VBARUN

Name

-VBARUN

Aliases

None.

Synopsis

Runs a VBA macro from the Command prompt.

Options

None.

Argument Sequence

macro name, given as MacroName, or Project.Module.Macro, or DVBfile!Project.Module.Macro to disambiguate an unloaded global project

Description

Executes a Visual Basic for Applications (VBA) macro stored in a DVB file directly from the command line, without opening a dialog box. The macro can be referenced by name alone when unique, or qualified with project, module, and DVB file names; it is intended mainly for use from scripts.

Category

customization

Availability

  • AutoCAD, all versions: documented.
  • BricsCAD, all versions: documented.
  • clautolisp: Not yet implemented: (command …) stops at it, with a "; cador:" notice on the console and no AutoLISP error; the call is recorded on the command log.

Compatibility

AutoCAD all; BricsCAD all.

clautolisp

Not yet implemented: (command …) stops at it, with a "; cador:" notice on the console and no AutoLISP error; the call is recorded on the command log. Support tier: deferred – in scope eventually, not scheduled now.