simple answer is that if your data rnge contains duplicates, your list will contain duplicates. You have 2 options
1: Use the advanced filter function to create a unique list of values - use this for your combo box data range
2: Use a loop in code and the additem method to add discrete items into your combobox. You can do this in 1 of 2 ways - either order the values such that all duplictes are together and then just test for a change in value or do 2 loops - 1 through the data and each time check against the stored list of values in the combobox. I would suggest the former as it should be much quicker to do a sort on the data and then quickly loop through checking for a change in value
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.