If Range("A3").Value = 1 Then
With ActiveSheet
If .FilterMode Then .ShowAllData
End With
Range("Tableau7[[#Headers],[Date limite de formation]]").Select
On Error Resume Next
ActiveSheet.ListObjects("Tableau7").Range.AutoFilter Field:=10, Criteria1:= _
RGB(255, 0, 0), Operator:=xlFilterCellColor
End If