Sub test()
Dim cel As Range
Dim Couleur As Long
Dim Couleur2 As Long
Dim Transit As Long
i = 0
Couleur = 10213316
Couleur2 = 16777215
For i = 5 To Range("F" & Rows.Count).End(xlUp).Row
If Cells(i, "F") = Cells(i - 1, "F") Then
Range(Cells(i, "A"), Cells(i, "M")).Interior.Color = Couleur
Else
Range(Cells(i, "A"), Cells(i, "M")).Interior.Color = Couleur2
Transit = Couleur
Couleur = Couleur2
Couleur2 = Transit
End If
Next
End Sub