how to populate a combobox with a list of unique values?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I just populated a combobox through listfillinrange property, just that the
column data source has repeated values... does any body would give me a clue
on how to filter just the unique vlaues on the combobox?

Thanks in advance and best regards!
Gerard!
 
I think you'll have to cycle through the cells in that range (and dump the
..listfillrange assignment).

John Walkenbach shows a technique at:
http://j-walk.com/ss/excel/tips/tip47.htm

His example uses a listbox on a userform, but I bet you can change it to work on
your listbox on the worksheet.
 
Thanks Dave... what I did was to filter the values to get the unique values
before to assign them to the listfillrange property...

Thank you...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top