Community
hey
i want to call an excel macro from a lisp. is it possible?
now i have this:
(startapp "C:\\Program Files (x86)\\Microsoft Office\\Office12\\Excel.exe"
(strcat "\""
(getvar 'dwgprefix)
(vl-filename-base (getvar 'dwgname))
"XXX.xls\""
)
)
i just want it to run macro1 from book1.xls
is it possible and how?
thanks
anyone?
i found another way to do it by vba which is: open excel, send command to autocad then run the macro but it seems slow to me
is there a way to open an excel file and run macro1 by lisp?
thanks
I think it's impossible,
instead of you could to create a button on Excel book
and add Sub to perform your macro in AutoCAD