View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
jonjo jonjo is offline
external usenet poster
 
Posts: 12
Default Protecting Cells

Hallo,

ActiveSheet.Cells.Locked = True
Range("A1:A23,B1,B1,B4:B7,B1,L2").Locked = False
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True

Greetings jonjo

"teresa" wrote:

Hi - how do I protect a worksheet
but allow users to edit a range of cells:

a1:a23, b4:b7,l2

Thank You