Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Application.Intersect(Target, Range("A6:A7")) Is Nothing Then
Sheets("Feuil1").Range("E2:G2").ClearContents
If Target.Count > 1 Then Exit Sub
With Sheets("Feuil1")
If Sheets("Feuil3").Range("A6") <> "" Then
.Range("E2") = Sheets("Feuil3").Range("A7")
.Range("F2") = ">=" & Sheets("Feuil3").Range("C1").Value2
.Range("G2") = "<=" & Sheets("Feuil3").Range("C2").Value2
End If
.Range("A19:O" & .[A65000].End(xlUp).Row).AdvancedFilter _
Action:=xlFilterCopy, _
CriteriaRange:=.Range("E1:G2"), _
CopyToRange:=Sheets("Feuil3").Range("A19:L19"), Unique:=False
End With
End If
End Sub