Bonjour Rio44,
Modification du code. Pour l'exemple j'ai choisi la colonne Z1 en finale. Mais si ton tableau devait être plus grand tu peux prendre ZZ1... etc...
Sub Compare()
Dim Lig1 As Long, Derlig1 As Long, Derlig2 As Long, Cp As Variant
Dim Lig2 As Long
Derlig1 = Sheets("Feuil1").Range("A65535").End(xlUp).Row
Derlig2 = Sheets("feuil2").Range("A65535").End(xlUp).Row
DerCol = Sheets("feuil2").Range("Z1").End(xlToLeft).Column
With Sheets("Feuil2")
For Col = 1 To DerCol
For Lig1 = 2 To Derlig1
Cp = Sheets("feuil1").Cells(Lig1, "A")
For Lig2 = 2 To Derlig2
If Cp = .Cells(Lig2, Col) Then
.Cells(Lig2, Col).Interior.ColorIndex = 6
End If
Next Lig2
Next Lig1
Next Col
End With
End Sub
Bons tests, bonne continuation.