Tu as répondu partiellement à mes dernières interrogations...
D'accord, j'ai le bon reflexe de copier/coller.
Mais, là ça fonctionne po, pourtant, je fais partir la boucle de 8 à ...!!!
Voici ce que j'ai fait de ton code:
Sub Coloriage()
Application.ScreenUpdating = False
' [A5].CurrentRegion.Sort Key1:=[A5], Order1:=xlAscending, Header:=xlGuess ' tri
couleur = 36
For i = 8 To [A65000].End(xlUp).Row
If Cells(i, 1) <> Cells(i - 1, 1) Then couleur = IIf(couleur = 36, 34, 36)
Cells(i, 1).Resize(, 4).Interior.ColorIndex = couleur
Next i
Application.ScreenUpdating = True
End Sub
Question:
[A5] signifie quoi exactement?