Sub testpatricktoulon()
Dim i&
ReDim t(1 To 3628, 1 To 1)
Cells(1, 1).Resize(3628).ClearContents
For i = 1 To 3628
t(i, 1) = Join(randomListNumber2(1, 10, False), "-")
Next
Cells(1, 1).Resize(3628) = t
ActiveSheet.Range("$A$1:$A$3628").RemoveDuplicates Columns:=1, Header:=xlNo
MsgBox 3628 - Cells(Rows.Count, "A").End(xlUp).Row & " doublons trouvé"
End Sub
Sub testdudu2()
Dim i&
ReDim t(1 To 3628, 1 To 1)
Cells(1, 1).Resize(3628).ClearContents
For i = 1 To 3628
t(i, 1) = Join(randomListNumber(1, 10, False), "-")
Next
Cells(1, 1).Resize(3628) = t
ActiveSheet.Range("$A$1:$A$3628").RemoveDuplicates Columns:=1, Header:=xlNo
MsgBox 3628 - Cells(Rows.Count, "A").End(xlUp).Row & " doublons trouvé"
End Sub
Sub testDranreb()
Dim i&
ReDim t(1 To 3628, 1 To 1)
Cells(1, 1).Resize(3628).ClearContents
For i = 1 To 3628
t(i, 1) = Join(randomListNumber3(1, 10, False), "-")
Next
Cells(1, 1).Resize(3628) = t
ActiveSheet.Range("$A$1:$A$3628").RemoveDuplicates Columns:=1, Header:=xlNo
MsgBox 3628 - Cells(Rows.Count, "A").End(xlUp).Row & " doublons trouvé"
End Sub