Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Sheet protection
Hi folks, I used the code below to protect a sheet: ActiveSheet.EnableSelection = xlNoSelection ActiveSheet.Protect Password:="CADEMP" It works properly. I tested it after running the code. But when I save the worksheet and reopen it I CAN select the cells. It seems that the code was not effective. But when I do the same procedure using the Excel menu (Tolls/Protect/...) and save, when a reopen the woksheet it works properly. Do some of you know how to avoid the problem? Thanks, Marcelo Rychter -- Marcelo Rychter ------------------------------------------------------------------------ Marcelo Rychter's Profile: http://www.excelforum.com/member.php...o&userid=35066 View this thread: http://www.excelforum.com/showthread...hreadid=557625 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
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 | |||
sheet protection | Excel Worksheet Functions | |||
Sheet protection error msg - Unrequested sheet activation | Excel Programming | |||
Sheet protection bug?? | Excel Programming |