+ Reply to Thread
Results 1 to 7 of 7

ComboBox1

  1. #1
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    ComboBox1

    Can I have a ComboBox on sheet 1 and have the list fill on sheet2? Not sure how too get it too read sheet2,
    Last edited by zplugger; 03-11-2009 at 09:39 AM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: ComboBox1

    Hi,

    not sure if you mean the ComboBox control, which is used in a VBA form or if you simply want a dropdown list when you click in a cell to select from a list of values. The dropdown list is done with data validation, and yes, you can have the list on a separate sheet.

    1. set up your list
    2. select the whole list and assign it a range name (Insert - Name - Define), for example MyList
    3. on the other sheet select the cell in which you want the dropdown list
    4. go to Data - Validation
    5. select List
    6. in the Source box type

    =MyList

    hope that helps

  3. #3
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    Re: ComboBox1

    Sorry ComboBox control, which is used in a VBA form .Box is on the first sheet, list on the second sheet.

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: ComboBox1

    in that case

    1. set up your list
    2. select the whole list and assign it a range name (Insert - Name - Define), for example MyList
    3. on the other sheet create the combo box
    4. in the properties go to the ListFillRange and set it to MyList

    hth

  5. #5
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    Re: ComboBox1

    I know this most be easy but I"m Lost, here is what I want too do.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    03-05-2009
    Location
    usa
    MS-Off Ver
    Excel 2016 32Bit
    Posts
    1,173

    Re: ComboBox1

    Thanks Teylyn, I got it.

  7. #7
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: ComboBox1

    1. Go to Sheet2
    2. Highlight the list
    3. Click Insert - Name - Define
    4. Type "Mylist" in the "Names in Workbook" box
    5. Click OK
    6. Go to Sheet1
    7. Click the Design Mode icon on the Control Toolbox toolbar
    8. Right click on the ComboBox and select Properties
    9. In the Properties list scroll down to the field ListFillRange
    10. Click in the empty box to the left and enter "Mylist"
    11. Close the Properties box
    12. Exit Design Mode (click the Design Mode icon again)
    13. use the Combo Box

    oh, and clear out your existing code for the ComboBox in the VBA editor. It's only throwing errors around, anyway.

+ 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