Salut addou,
une façon de faire...
Je postule ici que tes données se trouvent en colonne [C:C] sinon adapter le code.
La macro se déclenche par un double-clic.
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
'
Dim tData()
Dim iIdx As Integer, iFlag As Integer, iFlag1 As Integer, iRow As Integer
'
iRow = Range("C" & Rows.Count).End(xlUp).Row
For x = 1 To iRow
If iIdx > 0 Then
iFlag = 0
For y = 0 To iIdx - 1
If CDbl(Cells(x, 3)) = CDbl(tData(0, y)) Then iFlag = 1
Next
End If
iFlag1 = WorksheetFunction.CountIf(Range("C1:C" & iRow), Cells(x, 3))
If iFlag = 0 And iFlag1 > 1 Then
iIdx = iIdx + 1
ReDim Preserve tData(2, iIdx)
tData(0, iIdx - 1) = Cells(x, 3)
tData(1, iIdx - 1) = iFlag1
sMsg = sMsg & "Le nombre " & Cells(x, 3) & " est présent " & iFlag1 & " fois!" & Chr(10)
End If
Next
sMsg = IIf(sMsg = "", "Pas de doublons détectés!", sMsg)
MsgBox sMsg, vbInformation, "Doublons"
'
End Sub
A+