davethegog
Instructor
I'm trying to open an excel file and subsequently run an excel macro through a vbs file. I've got this far but can't seem to finish off.
Set objExcel = createobject("Excel.application")
objexcel.Visible = True
objexcel.Workbooks.open "c:\training 2.xls"
objexcel.application.run macro ="test"
objexcel.Quit
Any suggestions would be appreciated.
Set objExcel = createobject("Excel.application")
objexcel.Visible = True
objexcel.Workbooks.open "c:\training 2.xls"
objexcel.application.run macro ="test"
objexcel.Quit
Any suggestions would be appreciated.