Oui désolé d'avoir posté 2 posts mais je trouvais le premier vraiment mal formulé, donc j'ai essayé ta macro et j'ai un problème de bogage, sur la ligne en rouge, merci de ton aide.
Sub aa()
Dim i As Integer, j As Integer
Application.ScreenUpdating = False
For i = 2 To Range("A1048576").End(xlUp).Row
With Workbooks("Antoine 2").Sheets("Feuil1")
For j = 2 To .Range("C1048576").End(xlUp).Row
If Cells(i, 1) = .Cells(j, 3) And Cells(i, 2) = .Cells(j, 4) Then
Range(Cells(i, 1), Cells(i, 2)).Font.ColorIndex = 4 ' vert
GoTo Etiquette
End If
Next j
Range(Cells(i, 1), Cells(i, 2)).Font.ColorIndex = 3 ' rouge
Etiquette:
End With
Next i
End Sub
PS: Mon fichier est trop volumineux
En gros c'est : si il n'y a pas de concordance entre les colonnes E et H de la feuille facture et les colonnes Z et AF feuille entres en stock ou souligne en rouge et si c'est bon on met en vert