D
David
Is it possible to add rows to a protected worksheet
without unprotecting the worksheet first?
Tahnks for your help.
without unprotecting the worksheet first?
Tahnks for your help.
-----Original Message-----
Hi Dave,
You could put some code in the workbook sheet change event to set the values
of your cells back to whatever you need them to be (in the event they are
changed). Below is an example for sheet1 cells A1 =5262 and A2 =4444:
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
If Sheet1.Range("a1").Value <> 5262 Then Range ("a1").Value = 5262
If Sheet1Range("a2").Value <> 4444 Then Range("a2").Value = 4444
End Sub
tim
.