+ Reply to Thread
Results 1 to 2 of 2

Two Column Combobox with two linked cells

  1. #1
    Registered User
    Join Date
    11-14-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    1

    Two Column Combobox with two linked cells

    HELP PLEASE! I am new and will try to pose my problem simply.

    I have an Active X ComboBox that properly displays two columns in the list with column A
    selection in cell E13. I need Column B to display/link in cell P13.

    Example:
    Apple 1
    Pear 2
    Peach 3

    I can't get the number (column B) to display in cell P13. The fruit (column A) is in E13 as needed.

    Many Thanks
    Last edited by lmckenzie55; 11-14-2012 at 02:17 PM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Two Column Combobox with two linked cells

    Welcome to the Forum!

    You can only link the value from one column of a multi-column combobox to a cell. You can use the BoundColumn property to indicate which column's value is linked, but still only one value.

    The way to do this is in code. Change "ComboBox1" to the name of your actual combobox, and change "MySheet" to the actual name of the worksheet. This code goes into the module for the entity containing the combobox (worksheet or userform):
    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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