Runs a VBA macro
(vl-vbarun macroname)
_$ (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
-
The vl-vbaload function.