Sub test
Dim Valeurs_Possibles_6 As Variant, Valeurs_Possibles_7s As Variant, Valeurs_Possibles_8 As Variant
Dim Lignes_Possibles As Variant
Dim F As Boolean
Dim v As Long, w As Long
Valeurs_Possibles_6 = Array("MADL6", "MOSCA3", "MAGN76", "ARCH12", "CROI0", "TSARA3", "MAGNA0", "ETOIL3")
Valeurs_Possibles_7 = Array("ARIAT9", "MARIE1", "GASIN2", "UNIVE7", "PORTT4", "UNIVE1", "ABATT4", "MARIE5")
Valeurs_Possibles_8 = Array("PASTE1", "PALAI9", "MEDEH5", "GOIRA5", "LASPL6", "THIER1", "MEDEP1", "RISSO2")
Lignes_Possibles = Array("6", "7", "8")
derligne = Range("A" & Rows.Count).End(xlUp).Row
For w = 0 to Ubound(Lignes_Possibles)
For i = derligne To 2 Step -1
F = False
For v = 0 To UBound(Valeurs_Possibles_6) ' possibilité de remplacer ce 6 par la variable Array des Lignes_Possibles ?
If Cells(i, 3) Like Valeurs_Possibles_6(v) Then F = True ) ' possibilité de remplacer ce 6 par la variable Array des Lignes_Possibles ?
Next v
If F = False Then Rows(i).Delete
Next i
Next w
End Sub