Arguments
-
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"