Saving excel file through Managed c++

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++.
 
G

Guest

Post the existing managed C++, largely around the bit that does the closing
of the workbook.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top