Combobox.additem (No Repeats)
Hi there,
I'm building a Userform with a bunch of Comboboxes which I am populating
from a spreadsheet.
One of the Combobox is beingin populated by a field which has the majority
of the entries the same.
Can anyone help with some code to only populate the Combobox with uniqie
entries only.
Code I have been using to populate the Combobox has been:
sub unserform_initialize ()
a = 2
do until cells(a,1)=""
combobox1.additem cells(a,24)
a = a+1
loop
end sub
Thanks
Dan
|