用shell启动,用TIMER定时用FINDWINDOW检查时候有这个窗体,有的话用API函数使它获得焦点
1、Set ex = CreateObject("Excel.Application")
Set exwbook = ex.Workbooks().add
Set exsheet = exwbook.Worksheets("sheet1")
2、Set MyXL = CreateObject("excel.application")
Set mybook = MyXL.Workbooks.Open("文件路径XXX.xls")
3、Set MyXL = GetObject(, "Excel.Application ")
Set mybook = MyXL.Workbooks.Open("文件路径XXX.xls")
无语的问题