I have a macro that starts in Attachmate Extra!, gets needed information, Opens excel, opens a file in excel then puts the information into a worksheet and prints. The macro then closes the workbook and quits excel. It then continues performing actions in Extra!
The Problem is after running the macro, every time I try to open an excel file with a macro, excel freezes.
Skeleton:
Set objSys = GetObject(Extra.System)
...
Set objExcel = CreateObject(Excel.Application)
Set objWork = objExcel.workbooks.Open("H:\file.xls"
...
Print ...
...
Call objWork.Close()
Call objExcel.Quit()
...
Main
The Problem is after running the macro, every time I try to open an excel file with a macro, excel freezes.
Skeleton:
Set objSys = GetObject(Extra.System)
...
Set objExcel = CreateObject(Excel.Application)
Set objWork = objExcel.workbooks.Open("H:\file.xls"
...
Print ...
...
Call objWork.Close()
Call objExcel.Quit()
...
Main