Removing duplicate items in a ComboBox

Got it. Thanks.

If Not (combobox1.Items.Contains(STRING)) Then
combobox1.items.add(STRING)
End If

Cags said:
Do you wish to check if an item is unique when you are adding it, or check through a list and remove and duplicate values?
 
Back
Top