Hi, Jack,
jusrt unprotect the sheet again, run test and then use the altered Code behind the Sheet:
Sub test()
Range("A1:E" & Rows.Count).Locked = False
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column >= 5 And WorksheetFunction.CountBlank(Range("B" & Target.Row & ":E" & Target.Row)) = 0 Then
ActiveSheet.Unprotect "password"
ActiveSheet.Range("B1:E" & Target.Row).Locked = True
ActiveSheet.Protect "password"
End If
End Sub
Besides: you should be more precise on what you really want. Iīm out of this thread.
Ciao,
Holger
Bookmarks