We have a macro that writes to Excel from Attachmate and then saves it. At least, that's what it's supposed to do. It only works when Excel is closed. However, we want it to save while the Excel window is open. But, it does not work, it ends up saving to the My Documents (default file location according to Excel). So, we tried changing location of the file to My Documents. As a result, it crashes saying that the file is read-only when it tries to save, so we scrapped that.
Basically, is there a way to save to an excel file while the window is opened?
P.S. We know about DisplayAlerts, ActiveWorkbook.Save (didn't help), and AppExcel.Save (Also,doesn't seem to help).
Thanks in advance.
Basically, is there a way to save to an excel file while the window is opened?
P.S. We know about DisplayAlerts, ActiveWorkbook.Save (didn't help), and AppExcel.Save (Also,doesn't seem to help).
Thanks in advance.