Dim i As Integer For i = List1.ListCount - 1 To 0 Step -1 If List1.List(i) = List1.List(i + 1) Then List1.RemoveItem (i + 1) End If Next i
Dim i As Integer For i = List1.ListCount - 2 To 0 Step -1 If List1.List(i) = List1.List(i + 1) Then List1.RemoveItem (i + 1) End If Next i