+ Reply to Thread
Results 1 to 9 of 9

mapping drop box result to a cell

  1. #1
    Registered User
    Join Date
    09-18-2009
    Location
    Trinidad
    MS-Off Ver
    Excel 2007
    Posts
    64

    mapping drop box result to a cell

    First off, I'll explain the procedure that I have conducted so far:

    1) I inserted date between cells A1-A3. I then named the range "name"

    2) I inserted a combo box (form control), to which I assigned the input range "=name"

    Now, what I am hoping to achieve is whatever i select via the drop box, I will be able to get the result on a different cell eg: if i choose "dave" on the drop box, I must get "Dave" on cell D1.

    I tried applying the cell link, but that only gives me the ordinal value.

    Is there something that I have to program on Visual Basic or otherwise?

    Any assistance is grateful.

    Boos
    Last edited by NBVC; 01-11-2011 at 04:32 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: mapping drop box result to a cell

    If I used LinkedCell: Dave and ListFillRange: Name, then I get Dave in D1 if I select Dave...
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    09-18-2009
    Location
    Trinidad
    MS-Off Ver
    Excel 2007
    Posts
    64

    Question Re: mapping drop box result to a cell

    Quote Originally Posted by NBVC View Post
    If I used LinkedCell: Dave and ListFillRange: Name, then I get Dave in D1 if I select Dave...
    Thanks for the VERY quick reply. However, I am still confused.

    Where do I enter LinkedCell and LinkFillRange?

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: mapping drop box result to a cell

    Sorry, I thought you were talking about the Control Toolbox, you used Forms Toolbox.

    If you want the result in D1, then change the linked cell to something else to hold the index number... say E1

    Then in D1: =INDEX(Name,E1)

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

    Re: mapping drop box result to a cell

    Right Click the control & choose Format Control
    Hope that helps.

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

    Free DataBaseForm example

  6. #6
    Registered User
    Join Date
    09-18-2009
    Location
    Trinidad
    MS-Off Ver
    Excel 2007
    Posts
    64

    Re: mapping drop box result to a cell

    ok, I got what I wanted via =index(name,E1) format. However, I would very much like to NOT depend on another cell (the linked cell) to get the result.

    As per your LinkedCell: Dave and ListFillRange: Name format, how exactly do i go about composing it?

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: mapping drop box result to a cell

    I used the combox from the Controls Toolbox,

    Then you rightclick the control and select Properties, then enter D1 for LinkedCell and Name for ListFillRange.

    You will need to get out of Design Mode to activate and use (click the DesignMode button)

  8. #8
    Registered User
    Join Date
    09-18-2009
    Location
    Trinidad
    MS-Off Ver
    Excel 2007
    Posts
    64

    Re: mapping drop box result to a cell

    The combo box...di u take it from form control or activex control?

  9. #9
    Registered User
    Join Date
    09-18-2009
    Location
    Trinidad
    MS-Off Ver
    Excel 2007
    Posts
    64

    Re: mapping drop box result to a cell

    never mind!!!! you used activex!!!! lolz.

    Thanks NBVC!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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