LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Unable to set DisplayAlerts property

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!!
Jennifer

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to set the XValues Property Ali Baba Charts and Charting in Excel 2 September 14th 05 04:54 AM
Unable to set Hidden Property LAF[_7_] Excel Programming 2 August 24th 05 11:36 AM
unable to set hidden property davegb Excel Programming 2 March 22nd 05 12:03 AM
Unable to get VLOOKUP property cici Excel Programming 1 February 10th 04 11:24 PM
DisplayAlerts property is not changing to False myoung Excel Programming 1 November 19th 03 04:48 PM


All times are GMT +1. The time now is 11:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"