Private Sub Worksheet_Activate()
Application.ScreenUpdating = False
Cells.Delete 'RAZ
With Sheets("Feuil1").[A1].CurrentRegion
.Cells(2, .Columns.Count + 2) = "=COUNTIF(Feuil2!A:A,A2)" 'critère (en K2)
.AdvancedFilter xlFilterCopy, .Cells(1, .Columns.Count + 2).Resize(2), [A1] 'filtre avancé copié
.Cells(2, .Columns.Count + 2) = "" 'efface le critère
End With
End Sub