+ Reply to Thread
Results 1 to 2 of 2

ComboBox row distinct rowSource

  1. #1
    Forum Contributor mcinnes01's Avatar
    Join Date
    05-25-2010
    Location
    Manchester
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    449

    ComboBox row distinct rowSource

    Hi,

    I am trying to use a the range Sheets("entitlement rules").Range("lgrpnh") as the rowsource for a combobox, but I want it to contain no duplicate values.

    In the properties I have got the full list displayed but can't filter it and I haven't managed to get it to work using vba.

    In access I would simply use 'Distinct' is there a similar function in excel?

    The form is called "MPOLVEGROUP" and currently I have just used the rowsource property with:

    Please Login or Register  to view this content.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: ComboBox row distinct rowSource

    Normally I would suggest Advanced Filter to create a list of unique entries
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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