Saving excel file through Managed c++

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Folks

I am trying to build an application, in managed c++, which opens an excel
file and enters a formula, in one of the cell, and then reads the value
generated by that formula. The program works fine except for the fact that I
am not able to close the excel file which I created through the program.
Everytime I try to close the file, through my program, excel interface pops
up a window asking to save changes.

Can someone please help me in finding one or all of the following:-
1. Closing the newly created excel file without saving it and without the
save pop-up. This should be done through managed c++ code.
2. Saving the excel file created through managed c++.
 
Post the existing managed C++, largely around the bit that does the closing
of the workbook.
 
Back
Top