Unable to set the DisplayAlerts property of the Application class
问题 I am intermittently getting the following exception: It does not occur if I step through the code and I'm having trouble working out how to reproduce it reliably. The inner exception is null. I have search the web and found a C++ MFC programmer cam across the same thing but no answers: http://www.excelforum.com/excel-programming/555121-unable-to-set-displayalerts-property.html I also have read up on another possible cause unfortunately is unrelated as its to do with opening a spreadsheet via