Sub Colorier_1()
Dim k As Integer
Dim i As Integer
Dim j As Integer
Sheets("Feuil1").Activate
Range("C18:AD1751").Interior.ColorIndex = xlNone
For k = 3 To 28 ' selection des colonnes de la colonne 3 (C) à la colonne 28(AD)
For i = 1757 To 1780 ' Prise en compte des valeurs des lignes 1757 à 1780
If Cells(i, k) = 12 Or Cells(i, k) = 8 Or Cells(i, k) = 7 Or Cells(i, k) = 13 _
Or Cells(i, k) = 20 Or Cells(i, k) = 1 Or Cells(i, k) = 4 Then
For j = 18 To 1751 ' Coloriage définitif des cellules C18 à AD1751 en fonction des valeurs numérotées
If Cells(j, k) = 12 And Cells(j, k) = Cells(i, k) Then Cells(j, k).Interior.ColorIndex = 43
If Cells(j, k) = 8 And Cells(j, k) = Cells(i, k) Then Cells(j, k).Interior.ColorIndex = 6
If Cells(j, k) = 7 And Cells(j, k) = Cells(i, k) Then Cells(j, k).Interior.ColorIndex = 6
If Cells(j, k) = 13 And Cells(j, k) = Cells(i, k) Then Cells(j, k).Interior.ColorIndex = 44
If Cells(j, k) = 20 And Cells(j, k) = Cells(i, k) Then Cells(j, k).Interior.ColorIndex = 33
If Cells(j, k) = 1 And Cells(j, k) = Cells(i, k) Then Cells(j, k).Interior.ColorIndex = 15
If Cells(j, k) = 4 And Cells(j, k) = Cells(i, k) Then Cells(j, k).Interior.ColorIndex = 15
Next j
End If
Next i
Next k
End Sub