I use Microsoft Office Interop to edit some excel files, and when I close them I use
outputExcelWorkBook.Close(false, paramMissing, paramMissing);
But a dialog box still appears, although I passed false as the first parameter. I also tried it with true and gave it the path to the file as the second parameter, but in both cases a dialog box appears asking if I want to save until closing. Can someone tell me what is going on here?
c # excel-interop excel-automation
azrosen92
source share