ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Saving an Excel file & overwrite (C++) (https://www.excelbanter.com/excel-programming/364258-saving-excel-file-overwrite-c.html)

Zorb

Saving an Excel file & overwrite (C++)
 
I'm trying to save changes to a file I'm using the IDispatch::invoke()
function. I've found the save to be attached to the application and not the
Workbook(s) or Worksheet(s). When the save is called it returns a failed
state. I assume that my problem lies with the parameters passed during the
invoke() function. So if anyone has a code sample using the invoke() or a
location I get the invoke() commands differant parameters to pass and
parameter types that would be a big help.

In short: Open Excel doc, make changes, save doc, close excel doc, all are
automated.


All times are GMT +1. The time now is 12:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com