Bonjour,
Ci-joint fichier avec tes recommandations (Filtre élaboré sur une autre feuille)
Il suffisait d'être un peu plus précis.
Cdlt
Option Explicit
Public Sub FiltreAuto()
'Jean-Eric
Dim sH_1 As Worksheet
Dim sH_2 As Worksheet
Dim derligne As Integer
Dim Filtre As Range
Dim Plage As Range
Application.ScreenUpdating = False
Set sH_1 = Worksheets(1)
Set sH_2 = Worksheets(2)
'------------------------------------------------------------------
sH_2.Activate
derligne = Range("A" & Rows.Count).End(xlUp).Row
If derligne > 1 Then
Set Filtre = Range(Cells(2, 1), Cells(derligne, 3))
Filtre.Select
Selection.Delete Shift:=xlUp
End If
'------------------------------------------------------------------
With sH_1
Set Plage = .Range("A4").CurrentRegion
derligne = .Range("A" & Rows.Count).End(xlUp).Row
Plage.AdvancedFilter Action:= _
xlFilterCopy, CriteriaRange:=sH_1.Range("A1:A2"), _
CopyToRange:=sH_2.Range(Cells(1, 1), Cells(derligne, 3)), Unique:=False
Plage.AutoFilter
End With
'------------------------------------------------------------------
Application.ScreenUpdating = True
End Sub