J
Jen
Hi,
I am writing an Excel automation program using C++ and MFC. I am
setting several properties for the Application class and most are
working. However, the DisplayAlerts property is giving me an error.
If I step through in the debugger, it works fine. But when I run it, I
get the message "Unable to set the Display Alerts property of the
Application class".
Any ideas???
Here is a code snipet:
//Then get the worksheet's application.
app = wb.GetApplication();
app.SetDisplayFormulaBar(FALSE); // Works Fine
app.SetDisplayAlerts(FALSE); //Gives error message
Thanks so much!!
Jen
I am writing an Excel automation program using C++ and MFC. I am
setting several properties for the Application class and most are
working. However, the DisplayAlerts property is giving me an error.
If I step through in the debugger, it works fine. But when I run it, I
get the message "Unable to set the Display Alerts property of the
Application class".
Any ideas???
Here is a code snipet:
//Then get the worksheet's application.
app = wb.GetApplication();
app.SetDisplayFormulaBar(FALSE); // Works Fine
app.SetDisplayAlerts(FALSE); //Gives error message
Thanks so much!!
Jen