+ Reply to Thread
Results 1 to 5 of 5

Combo Box items

  1. #1
    Forum Contributor
    Join Date
    01-14-2010
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    125

    Combo Box items

    I currently have a Combo Box on a user form and with-in the properties of the ComboBox I have the RowSource set to 'My Sheet'!A15:A21

    this works perfectly ... they choose a value ... this value is called individualNameEntry and is used downstream.

    My problem is that they want the names from MySheet in cells A25 until the last entry (usually about A90 to A115) to now show up in the ComboBox as a choice in addition to the current allowed A15:A21.

    I tried changing the RowSource to 'My Sheet'!A15:A21;MySheet'!A25:A115 and a few other options but nothing worked I kept getting error messages.

    This seems like it would be a fairly easy change but no luck so far...as always thanks so much in advance!
    Last edited by LiLi1; 09-23-2010 at 09:15 AM.

  2. #2
    Forum Contributor
    Join Date
    06-16-2010
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2010
    Posts
    278

    Re: Combo Box items

    You can define a range and use the named range in the source of the combo box.
    Sorry,that won't work, I misunderstood your question.

  3. #3
    Forum Contributor
    Join Date
    01-14-2010
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    125

    Re: Combo Box items

    I don't know how to define a range where the list isn't static... i.e. the ending cell with-in the range wouldn't always be the same cell at any given moment in time when the file is opened.

    The 2nd range would however always start at A25

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

    Re: Combo Box items

    Create the range to populate the ComboBox when the form loads
    Please Login or Register  to view this content.
    Hope that helps.

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

    Free DataBaseForm example

  5. #5
    Forum Contributor
    Join Date
    01-14-2010
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    125

    Re: Combo Box items

    Thanks everyone... I used the idea to Initialize the form with code to populate the combo box as opposed to using the row source property and it works great! At first I kept getting error messages about permissions but I still had the original data in the row source property box. I needed to delete that completely to get the code to fill the combo box.

+ 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