Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default how to populate a combobox with a list of unique values?

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!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default how to populate a combobox with a list of unique values?

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.

RIOSGER wrote:

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!


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default how to populate a combobox with a list of unique values?

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...

"Dave Peterson" wrote:

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.

RIOSGER wrote:

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!


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Unique Values in as a combobox value list Ayo Excel Discussion (Misc queries) 0 March 7th 08 01:51 PM
Populate combo box with unique values only sjayar Excel Discussion (Misc queries) 1 November 7th 05 07:29 AM
Populate unique list in combobox Mark Excel Programming 3 July 26th 05 09:27 AM
create list of unique values from a column with repeated values? Chad Schaben Excel Worksheet Functions 1 July 8th 05 10:25 PM
Displaying Unique Values in a Combobox Todd Htuttenstine Excel Programming 2 January 20th 04 09:33 PM


All times are GMT +1. The time now is 07:29 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"