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: 269
Default DisplayAlerts

The Help for DisplayAlerts in Excel 2003 states:


"The default value is True. Set this property to False if you don't want to
be disturbed by prompts and alert messages while a macro is running; any
time a message requires a response, Microsoft Excel chooses the default
response.

If you set this property to False, Micorosoft Excel sets this property to
True when the code is finished, unless you are running cross process code.

When using the SaveAs method for workbooks to overwrite an existing file,
the 'Overwrite' alert has a default of 'No', while the 'Yes' response is
selected by Excel when the DisplayAlerts property is set equal to True."


However, when I set DisplayAlerts=False, the opposite effect occurs when I
use SaveAs, which is what I want.

Is the documentation wrong?
--
http://www.standards.com/; See Howard Kaikow's web site.


 
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
Application.DisplayAlerts TK Excel Programming 4 April 7th 05 08:41 PM
ScreenUpdating & DisplayAlerts cdb Excel Programming 5 February 4th 05 01:11 PM
Displayalerts not working Hari[_3_] Excel Programming 11 January 14th 05 06:13 PM
DisplayAlerts Error justzach Excel Programming 3 July 27th 04 10:30 PM
Displayalerts and Screenupdating Hari[_3_] Excel Programming 4 June 12th 04 11:37 AM


All times are GMT +1. The time now is 12:14 PM.

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

About Us

"It's about Microsoft Excel"