Hello There, I used your Micro below to filter range according to cell value. however, when I delete the cell value, the filter stay on. I need to add to this Micro a code to remove filter if cell value is empty (A2 in this example). Thank you for your help
Private Sub Worksheet_Change(ByVal Target As Range)
' TeachExcel.com
Dim filterInput As Range
Dim filterRange As Range
Set filterInput = Range("A2")
Set filterRange = Range("A4:A16")
If Not Intersect(Target, filterInput) Is Nothing Then
filterRange.AutoFilter Field:=1, Criteria1=filterInput, _
VisibleDropDown:=True
End If
End Sub