Workbook SaveAs method fails

Forums for specific tips, techniques and example code
stevek
Posts: 11
Joined: Mon Aug 24, 2009 4:25 pm

Workbook SaveAs method fails

Postby stevek » Wed Nov 25, 2009 4:41 pm

Can anyone advise cause of following problem when trying to save an Excel workbook.

I have created an excel workbook in jade and populated all data.

Final step is to
workbook := theExcelApp.activeWorkbook;
workbook.saveAs(theFileName,
null, null, null,
null,
null, null, null,
null, null, null);

However this results in an activeX error of -2146827284 when the SaveAs line is executed.
I have researched the error code on the web and cannot find any reason that relates to my problem

stevek
Posts: 11
Joined: Mon Aug 24, 2009 4:25 pm

Re: Workbook SaveAs method fails

Postby stevek » Thu Nov 26, 2009 11:07 am

Please ignore query.
Discovered after I rebooted the client machine, everything worked as expected.
:!: :!:


Return to “Tips and Techniques”

Who is online

Users browsing this forum: No registered users and 7 guests