Re SeyMode
Le code réajusté :
Option Explicit
Sub test()
Dim i As Long, rng As Range, dico As Object, txt As String
Set dico = CreateObject("Scripting.Dictionary")
dico.CompareMode = 1
With Sheets("Feuil7")
Set rng = .Range("A1:I" & .Range("A" & .Rows.Count).End(xlUp).Row)
End With
With rng
With .Columns(9)
.ClearContents
.NumberFormat = "0000"
End With
For i = 2 To .Rows.Count
txt = Join$(Array(.Cells(i, 1).Value, .Cells(i, 5).Value, .Cells(i, 8).Value), Chr(2))
dico(txt) = dico(txt) + 1
.Cells(i, 9).Value = dico(txt)
Next
For i = 2 To .Rows.Count
txt = Join$(Array(.Cells(i, 1).Value, .Cells(i, 5).Value, .Cells(i, 8).Value), Chr(2))
If dico(txt) = 1 Then
.Cells(i, 9).ClearContents
End If
Next
End With
Set dico = Nothing
End Sub
klin89