+ Reply to Thread
Results 1 to 3 of 3

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

  1. #1
    RIOSGER
    Guest

    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. #2
    Dave Peterson
    Guest

    Re: 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. #3
    RIOSGER
    Guest

    Re: 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1