Private Sub Worksheet_Change(ByVal Target As Range)
Dim i&
If Intersect(Target, [c9]) Is Nothing Then Exit Sub
Application.ScreenUpdating = False
Columns(1).Rows.Hidden = False
If [c9] = "" Then Exit Sub
For i = 1 To Cells(Rows.Count, "A").End(xlUp).Row
If Cells(i, 1) <> "" Then
If Right(Cells(i, 1), 4) * 1 <> Year([c9]) Then Cells(i, 1).EntireRow.Hidden = True
End If
Next
End Sub