Option Explicit
Option Compare Text 'la casse est ignor?e
Private Sub Worksheet_Change(ByVal Target As Range)
ActiveSheet.AutoFilterMode = False
If Intersect(Target, ActiveSheet.Range("B5,D5,F5,B7")) Is Nothing Then Exit Sub
[A10].AutoFilter 'ca peux etre ca tout simplement
Select Case Target.Column
Case 2, 4, 6
If [B5] <> "" Then [A10].AutoFilter Field:=3, Criteria1:=[B5].Value
If [D5] <> "" Then [A10].AutoFilter Field:=4, Criteria1:=[D5].Value
If [F5] <> "" Then [A10].AutoFilter Field:=5, Criteria1:=[F5].Value
If [B7] <> "" Then [A10].AutoFilter Field:=1, Criteria1:=[B7].Value
If [B5] & [D5] & [F5] & [B7] = "" Then [A10].AutoFilter
Case Else
ActiveSheet.AutoFilterMode = False
End Select
End Sub