Hello, once again I ask for help!
On a worksheet event/change I want to see if the value is TRUE on column AK, same/target row and then execute a code.
I have a problem looking up the row number and using it correctly
My code:
Thank you again for any help/input
On a worksheet event/change I want to see if the value is TRUE on column AK, same/target row and then execute a code.
I have a problem looking up the row number and using it correctly
My code:
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
Dim row As Long
row = Target.row
If Range("$AK" & row) = True Then
With Target
.Offset(1).Resize(5).EntireRow.Hidden = .Value <> "Programmable"
End With
End If
Application.EnableEvents = True
End Sub
Thank you again for any help/input