|
Yes create another temp list box and add each item form actual list box to temp list box, before add check if the item is already present or not
For Each xitem In Me.somelist
If NOT (Me.templist.Items.Contains(xitem.someitemdata)) Then
Me.templist.Items.Add(xitem.someitemdata)
End If
Next
later on you can cleanup actual list and load items from temp list, keeping temp list invisible all the while
This may not be optimal method, I have given you just a method
|