Option Explicit
Option Compare Text 'la casse est ignor?e
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Sh As Worksheet, col&
Set Sh = ThisWorkbook.Sheets("Données Planning")
[A1].AutoFilter 'ca peux etre ca tout simplement
Select Case Target.Address(0, 0)
Case "I1": col = 3
Case "K1": col = 4
Case "M1": col = 5
Case Else: col = 0:
End Select
If Target.Value <> "" And col <> 0 Then
[A1].AutoFilter Field:=col, Criteria1:=Target.Value
Else
Sh.AutoFilterMode = False
End If
End Sub