Copy code into each sheet module
Private Sub Worksheet_Change(ByVal Target As Range)
Dim i As Long
Dim strMonth As String
Application.ScreenUpdating = False
If Not Intersect(Target, Range("A1")) Is Nothing Then
ActiveSheet.Cells.EntireRow.Hidden = False
For i = 3 To Range("C" & Rows.Count).End(xlUp).Row
strMonth = LCase(MonthName(Target, False))
Select Case Range("C" & i).Value
Case Is = strMonth, "", "Q1", "Q2", "Q3", "Q4"
Case Else
Range("C" & i).EntireRow.Hidden = True
End Select
Next i
End If
Application.ScreenUpdating = True
End Sub
Bookmarks