Private Sub Worksheet_Change(ByVal Target As Range)
If Not Application.Intersect(Target, Range("G2")) Is Nothing Then
Select Case Target.Value
Case Is = 1
Rows("9:14").EntireRow.Hidden = True
Rows("9:14").EntireRow.Hidden = False
Case Is = 2
Rows("9:14").EntireRow.Hidden = False
Rows("9:14").EntireRow.Hidden = True
End Select
End If
End Sub