piratabobo
Guest
hello to all
I have a problem that I hope can be solved, I have a file of excel data1.xls, within which I created a macro that I should launch from a macro created in autocad in vba, this I can do it the problem is that when I launch the macro of the excel file from autocad, excel opens wondering then saving the file after editing, I would like to insert data in excel and start the macro of excel but without
this is the code I use to launch the macro:
I hope I've been quite clear and that my problem can be solved.
thanks in advance for possible help
I have a problem that I hope can be solved, I have a file of excel data1.xls, within which I created a macro that I should launch from a macro created in autocad in vba, this I can do it the problem is that when I launch the macro of the excel file from autocad, excel opens wondering then saving the file after editing, I would like to insert data in excel and start the macro of excel but without
this is the code I use to launch the macro:
Code:
dim name as thong
dim xlapp as excel.application
on error resume next
'sporta i dati in excel
set xlapp = new excel.application
xlapp.visible = false
xlapp.run c:\elaboro\dati2.xls!open
xlapp.quit
set xlapp = nothing
thanks in advance for possible help