OLE2 updating excel file from Forms question [message #535177] |
Mon, 12 December 2011 10:14 |
|
katiush
Messages: 2 Registered: December 2011
|
Junior Member |
|
|
I am using OLE2 to update an excel spreadsheet from Oracle Forms 6i. If the excel spreadsheet is already open, the code runs through fine, and even asks if you want to replace the file when running the lines: OLE2.INVOKE(worksheet, 'Save');
OLE2.INVOKE(workbook, 'Save');
However, the file never gets updated. There is no error that appears.
I would like to have the program check if the file is open before running the program; can anyone offer advice as to how to do that?
Thanks,
Katia
|
|
|
|