Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
DisplayAlert
Hi! Is it possible to disable the warning message when trying to change a cell in a protected worksheet? Thank you! -- pmguerra ------------------------------------------------------------------------ pmguerra's Profile: http://www.excelforum.com/member.php...o&userid=14986 View this thread: http://www.excelforum.com/showthread...hreadid=562014 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
DisplayAlert
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 pmguerra wrote: Hi! Is it possible to disable the warning message when trying to change a cell in a protected worksheet? Thank you! -- pmguerra ------------------------------------------------------------------------ pmguerra's Profile: http://www.excelforum.com/member.php...o&userid=14986 View this thread: http://www.excelforum.com/showthread...hreadid=562014 -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
What do you do when DisplayAlert does not work in VBA? | Excel Discussion (Misc queries) | |||
Change the default respond in method DIsplayAlert | Excel Programming | |||
automatic links displayalert when you open workbook | Excel Programming | |||
application displayalert not working? | Excel Programming |