Sub ColorSameValues()
Dim ws As Worksheet
Dim rngA As Range
Dim rngC As Range
Dim cellA As Range
Dim cellC As Range
' Spécifier la feuille de calcul
Set ws = ThisWorkbook.Sheets("Feuil1")
' Spécifier les plages de cellules à comparer
Set rngA = ws.Range("A2:A439")
Set rngC = ws.Range("C2:C439")
' Parcourir les cellules de la colonne A
For Each cellA In rngA
' Parcourir les cellules de la colonne C
For Each cellC In rngC
' Vérifier si les valeurs sont identiques
If 1 * cellA.Value = 1 * cellC.Value Then
' Mettre en couleur les cellules identiques
cellA.Interior.Color = RGB(255, 0, 0) ' Rouge
cellC.Interior.Color = RGB(255, 0, 0) ' Rouge
End If
Next cellC
Next cellA
End Sub