Hi
try something like
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$C$1" Then
If Range("C1") = "All" Then
ActiveSheet.AutoFilterMode = False
Else
ActiveSheet.AutoFilterMode = False
ActiveSheet.Range("B11:K11").Select
Selection.AutoFilter 1, ActiveSheet.Range("C1").Value
End If
ElseIf Not Application.Intersect(Target, Range("G12:G31")) Is Nothing Then
'your action here
ElseIf Not Application.Intersect(Target, Range("I12:I31")) Is Nothing Then
'your action here
End If
End Sub
Bookmarks