Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
When a worksheet is protected and a cell is locked then an Error message
appears whenever the user attempts to edit the cell. Is there an event that I can tap into so that I can display my own message and run my own routine instead of the standard message? Thanks for any help Fred |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
AFAIK, no.
In article , "Fred" <leavemealone@home wrote: When a worksheet is protected and a cell is locked then an Error message appears whenever the user attempts to edit the cell. Is there an event that I can tap into so that I can display my own message and run my own routine instead of the standard message? Thanks for any help Fred |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Maybe you could just stop them from selecting locked cells on your worksheet:
Option Explicit Sub auto_open() With Worksheets("Sheet1") .Protect Password:="hi" .EnableSelection = xlUnlockedCells End With End Sub And xl2002 added the ability to set the enableselection property via the userinterface. Fred wrote: When a worksheet is protected and a cell is locked then an Error message appears whenever the user attempts to edit the cell. Is there an event that I can tap into so that I can display my own message and run my own routine instead of the standard message? Thanks for any help Fred -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel Data Protection Best Practice: AKA: Real Sheet Protection | Excel Discussion (Misc queries) | |||
Excel Data Protection- AKA: Sheet/Macro Password Protection | Setting up and Configuration of Excel | |||
Hoping to disable Protection Warning message | Excel Discussion (Misc queries) | |||
Cell Protection vs. Worksheet Protection | Excel Discussion (Misc queries) | |||
Worksheet protection is gone and only wokbook protection can be se | Excel Discussion (Misc queries) |