Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Error message with protected sheet
hello,
is there any way I can change the error message that comes up when a user tries to change a locked cell on a protected worksheet. Thanks |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Error message with protected sheet
You can't change the message, but you can stop them from selecting locked cells
on a protected sheet. Option Explicit Sub auto_open() Dim wks As Worksheet Set wks = Worksheets("sheet1") With wks .Protect password:="hi" .EnableSelection = xlUnlockedCells End With End Sub If you're new to macros, you may want to read David McRitchie's intro at: http://www.mvps.org/dmcritchie/excel/getstarted.htm HRman wrote: hello, is there any way I can change the error message that comes up when a user tries to change a locked cell on a protected worksheet. Thanks -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Applying autofilter to protected sheet | Excel Discussion (Misc queries) | |||
Copying multiple sheets from one book 2 another and undertake spec | Excel Discussion (Misc queries) | |||
Unlock a spinner or scrollbar on a protected sheet | Excel Worksheet Functions | |||
refresh external data on a protected sheet | Excel Discussion (Misc queries) | |||
password protected Sheet | Excel Discussion (Misc queries) |