Como vai ter mais de 53 linhas, fiz assim e funcionou
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
Application.ScreenUpdating = False
Dim rng As Range
Dim rng1 As Range
Dim Cell As Range
'--- Variavel ---
Dim UltL As Long
UltL = Sheets("Plan1").Cells(Rows.Count).End(xlDown).Row
Set rng = Range("C3:F3")
Set rng1 = Range("C2:F3")
For Each Cell In rng
If Target.Address = Cell.Address Then
Application.EnableEvents = False
Rows(5 & ":" & UltL).AdvancedFilter _
Action:=xlFilterInPlace, CriteriaRange:=rng1, Unique:=False
Application.EnableEvents = True
End If
Next Cell
Application.ScreenUpdating = True
End Sub
Postado : 23/10/2017 7:31 pm