+ Reply to Thread
Results 1 to 9 of 9

Drop-Down List - Then goto cell

  1. #1
    Registered User
    Join Date
    01-19-2010
    Location
    USA - Philadelphia
    MS-Off Ver
    Excel 2007
    Posts
    12

    Drop-Down List - Then goto cell

    I can't figure this out.

    Say I have a drop-down list in EXCEL 2007 with the following items:

    Invoice 1
    Invoice 2
    Invoice 3
    Invoice 4

    When a user selects the drop down list and picks an invoice number...
    I want it to automatically go to a cell on the same worksheet.... say cell A95...

    I would love to pull this off without using a macro.
    But If I need a macro thats fine to...

    Thanks for reading.
    Hope you can help

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Drop-Down List - Then goto cell

    You could use the HYPERLINK() function in an adjacent cell to your drop down to create a changing hyperlink that linked to the proper target. You would have to select from the drop down, then click the hyperlink. No macro.

    To have it happen it simultaneously would require a worksheet_change macro watching that drop down cell.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    01-19-2010
    Location
    USA - Philadelphia
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Drop-Down List - Then goto cell

    Hoping to have the user do as little as possible...

    Select from the drop-down..... then boom redirected to specific cell in the same worksheet...

    Thanks for your response

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Drop-Down List - Then goto cell

    What cell(s) have this drop down?
    Do we simply match the selection made to the values in column A and jump to the cell that matches? Or is there some sort of lookup table somewhere?

  5. #5
    Registered User
    Join Date
    01-19-2010
    Location
    USA - Philadelphia
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Drop-Down List - Then goto cell

    Say in cell A1 I create a drop down (Data Validation > List > Invoice1, Invoice 2)
    So I add the Invoice 1 & 2 right into the data validation.

    Now when I click cell A1 a drop down appears
    Invoice1
    Invoice2

    Say a user clicks Invoice2... soon as they click it.... I would like it to jump to cell b1000 (in the same worksheet)

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Drop-Down List - Then goto cell

    Why cell B1000? My question before was specific. Unless you want to be manually editing this macro forever, it needs to be constructed in a way the selecting "Invoice 2" from the drop allows the sheet to evaluated in some way that "B1000" is the answer.

    Does the make sense?

    So, what is value of cell B1000? How does it relate to the text "Invoice 2"? Is there any correlation that is consistent enough that we can logically find the correct cell to jump to by making that connection between Invoice 2 and cell B1000?

  7. #7
    Registered User
    Join Date
    01-19-2010
    Location
    USA - Philadelphia
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Drop-Down List - Then goto cell

    This seemed to work
    I created a combo box that drops down a selection... and used the below code.....

    Please Login or Register  to view this content.
    The 1-15 tags can be labled any way you wish via your combobox defined list.....
    When selected it will add a 1-15 into a cell of your choosing....

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Drop-Down List - Then goto cell

    Cross-posted at http://www.mrexcel.com/forum/showthread.php?t=442266

    Nono, you won't make any friends if you keep doing that.
    Entia non sunt multiplicanda sine necessitate

  9. #9
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Drop-Down List - Then goto cell

    and (in essence) also duplicated here... http://www.excelforum.com/excel-prog...cell-b100.html

+ 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