Re: Trying to hide rows based on a drop down yes no
This works a treat Grimes0332,
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$E$22" Then
Rows("25:28").Hidden = UCase(Target.Value) <> "YES"
End If
If Target.Address = "$E$23" Then
Rows("31:33").Hidden = UCase(Target.Value) <> "NO"
End If
If Target.Address = "$D$49" Then
Rows("50:52").Hidden = UCase(Target.Value) <> "YES"
End If
End Sub
Just one last question is it possible to have the cell saying please select" YES/NO" or just YES/NO in the cell keeping the cells hidden until the YES/NO is selected.