For i = ListBox1.ListCount - 1 To 1 Step -1
ListBox1.ListIndex = -1
ListBox1.Text = ListBox1.List(i)
If ListBox1.ListIndex > -1 And ListBox1.ListIndex < i Then
ListBox1.Selected(i) = True
ListBox1.TopIndex = i
MsgBox "tu le vois, l'article mis en surbrillance ? ==>> ben ...c'est un doublon"
End If
Next
détecter les valeurs entrées plusieurs fois sur une listbox