tlc53
Active Member
- Joined
- Jul 26, 2018
- Messages
- 399
Hi there,
I'm not sure why this code isn't working. Can someone tell me if I'm missing a trick please?
Private Sub Worksheet_Change(ByVal Target As Range)
If Range("A17") = "TRUE" Then
Range("F17:K17").Locked = False
ElseIf Range("A17") = "FALSE" Then
Range("F17:K17").Locked = True
End If
End Sub
Thank you!
I'm not sure why this code isn't working. Can someone tell me if I'm missing a trick please?
Private Sub Worksheet_Change(ByVal Target As Range)
If Range("A17") = "TRUE" Then
Range("F17:K17").Locked = False
ElseIf Range("A17") = "FALSE" Then
Range("F17:K17").Locked = True
End If
End Sub
Thank you!