M
Marilyn
Hello I want to hide columns "e" and "f" if cells C7 says anything else
than "Web System ". I created the code below and it works except that it also
hides columns "e" and "f" if I enter anything in in row 7 thanks
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 3 And (Target.Value = "Web System") Then
Columns("E:F").Hidden = False
Else: Columns("E:F").Hidden = True
End If
End Sub
than "Web System ". I created the code below and it works except that it also
hides columns "e" and "f" if I enter anything in in row 7 thanks
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 3 And (Target.Value = "Web System") Then
Columns("E:F").Hidden = False
Else: Columns("E:F").Hidden = True
End If
End Sub