Hi, concurmgr,
you need to tell us how the entry in that cell is made: directly from a user or via Formumla?
For a direct entry you could use a static macro like this
Sub concurmgr_HideRows()
Rows("11:32").Hidden = LCase(Range("A7").Value) = "yes"
End Sub
Evaluation is made on Range("A7"), and only if the entry is yes the rows will be shown.
You could use an event to do so (code goes behind the sheet):
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Count > 1 Then Exit Sub
If Not Intersect(Target, Range("A7")) Is Nothing Then
Rows("11:32").Hidden = LCase(Target) = "yes"
End If
End Sub
Ciao,
Holger
Bookmarks