Bonjour,
J'ai un code pour trouver les doublons d'une colonne, mais j'aimerais que un peu comme widows lorsque il y a un doublon, il y ai un indice.
Ex: 2456, 2456(2),2456(3).
Je vous joint mon code
Sub Doublon()
Dim Plage As Range
Dim Cel As Range
With Sheets("TRAVAIL")
Set Plage = .Range(.Cells(3, 3), .Cells(.Rows.Count, 3).End(xlUp))
End With
For Each Cel In Plage
If Application.CountIf(Plage, Cel.Value) > 1 Then
Cells(Cel.Row, 4) = Cel.Value
End If
Next Cel
End Sub
Je ne vois pas comment faire car il y a +/- 50000 référence a traiter.
Merci D'avance