+ Reply to Thread
Results 1 to 2 of 2

Populate a combo Box

  1. #1
    Registered User
    Join Date
    06-14-2005
    Posts
    2

    Populate a combo Box

    I have a combo box in cell B2 with options of "1" and "2"

    I would like to put a combo box in cell B4 that would populate based on the selection made in cell B2, where:

    If B2="1", a cell range from sheet2, cells A1:A4 would populate the B4 combobox

    If B2="2", a cell range from sheet2, cells B1:B4 would populate the B4 combobox

    Is this possible with a function or a VB formula? Thanks!

  2. #2
    Forum Expert
    Join Date
    12-24-2004
    Location
    Sweden
    Posts
    1,256
    Define a name (Menu: Insert>Name...) and then use the offset function
    Name: range
    Formula: =OFFSET(Sheet9!$D$7:$D$9;0;Sheet9!$B$7-1)

    Also see encl. zip-file: http://www.excelforum.com/attachment...tid=3494&stc=1

    Hope it helped
    Ola Sandström
    Attached Files Attached Files

+ 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