J'ai trouvé! C'est le tableau sur la gauche qui posait problème! Je l'ai mis sur une autre page et ça marche!
Par contre j'ai voulu appliqué ta procédure sur un autre cas, mais hélas, ça ne marche pas, sais tu pourquoi frangy?
Quand je clique sur oui il ne se passe rien!
La voici :
For i = 2 To m
q = Cells(i, 5)
c = Application.CountIf(Range("E2:E" & Lastrowa), Cells(i, 5))
If c <> 405 Then
alerte = MsgBox("L'enrouleur " & q & " ne comporte pas 405 données!!!!", vbOKOnly + vbCritical)
reponses = MsgBox("Voulez - vous supprimer cet enrouleur ?", vbYesNo + vbCritical)
If reponse = vbYes Then
Application.ScreenUpdating = False
With Sheets("Data")
Application.ScreenUpdating = False
Application.GoTo Reference:="Tableau_Requete_AL300___ecran_actif"
If Not .AutoFilter Is Nothing Then Selection.AutoFilter
Selection.AutoFilter Field:=5, Criteria1:=q, Operator:=xlAnd
Application.DisplayAlerts = False
On Error Resume Next
Selection.SpecialCells(xlCellTypeVisible).Delete
On Error GoTo 0
Application.DisplayAlerts = True
.Range("A1").Select
Selection.AutoFilter
End With
End If
If reponse = vbNo Then
Exit Sub
End If
End If
Next i