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: 12
Default Application.DisplayAlerts = False does not disable alerts

The code €˜Application.DisplayAlerts = False does not work in all instances.

I have two virtually identical worksheets in different workbooks.

These worksheets act as an index and each cell is protected. By
double-clicking on a particular cell my VBA code gathers some data and
completes a procedure. The €˜Application.DisplayAlerts = False should
prevent the protection alert from appearing.

In the first workbook it works. The code was placed in €˜Private Sub
Worksheet_Activate(). It did not work if it was placed at the beginning of
code in €˜Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range,
Cancel As Boolean).

Place the same code in the second workbook and it does not work.

I have also opened a new workbook. Sheet1 has been protected and the
€˜Application.DisplayAlerts = False code placed in €˜Private Sub
Worksheet_Activate(). If I DoubleClick the protect alert appears.

Is there a way around this problem?

The only thing that has changed since the first book was created is that
Vista Business Version 6.0.6002 Service Pack 2 Build 6002 has been installed.

Excel version used is Excel 2003.

--
Derek Dowle
 
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 = False Jim May Excel Programming 9 August 18th 06 05:32 PM
Application.DisplayAlerts = False - Not Working [email protected] Excel Programming 3 March 1st 06 08:39 PM
Can't Set DisplayAlerts to False Mark Driscol Excel Programming 0 April 7th 04 06:11 PM
Can't Set DisplayAlerts to False Mark Driscol Excel Programming 1 April 6th 04 10:45 PM
Can't Set DisplayAlerts to False Mark Driscol Excel Programming 2 April 2nd 04 12:28 PM


All times are GMT +1. The time now is 05:13 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"