Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() This should do exactly as you asked! Regards, Simon Sub Test() ActiveSheet.Unprotect Range("B6:O6").Select Selection.Locked = False Selection.FormulaHidden = False 'WHATEVER YOU WANT TO DO WITH THE CELLS HERE Range("B6:O6").Select Selection.Locked = True Selection.FormulaHidden = False ActiveSheet.Protect DrawingObjects:=True, Contents:=True Scenarios:=True ActiveWorkbook.Save End Su -- Simon Lloy ----------------------------------------------------------------------- Simon Lloyd's Profile: http://www.excelforum.com/member.php...nfo&userid=670 View this thread: http://www.excelforum.com/showthread.php?threadid=56681 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Protect/ unprotect worksheet | Excel Discussion (Misc queries) | |||
How do I unprotect a protected worksheet that has passwrod protect | Excel Discussion (Misc queries) | |||
protect/unprotect worksheet | Excel Programming | |||
Protect/Unprotect Worksheet | Excel Discussion (Misc queries) | |||
Excel VBA - Problems using Protect/Unprotect a worksheet | Excel Programming |