vl-vbarun

AutoCad AutoLISP Functions

 
vl-vbarun
 
 
 

Runs a VBA macro

Arguments

(vl-vbarun  macroname)
macroname

A string naming a loaded VBA macro.

Return Values

macroname

Examples

Load a VBA project file:

_$ (vl-vbaload "c:/program
files/<AutoCAD installation directory>/sample/vba/drawline.dvb")
"c:\\program files\\<AutoCAD installation directory>\\sample\\vba\\drawline.dvb"

Run a macro from the loaded project:

_$ (vl-vbarun "drawline")
"drawline"
See Also