+ Reply to Thread
Results 1 to 5 of 5

Macro to jump to a cell that matches the text selected from a dropdown list.

  1. #1
    Registered User
    Join Date
    01-13-2014
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    17

    Macro to jump to a cell that matches the text selected from a dropdown list.

    Hi all,

    I'm looking for a macro to jump to and select a cell if it matches the text in another cell based on a drop down list. So I have a drop down list in cell c57 and a form control search button right next to it. I want the user to be able to select from the drop down, click search and then jump to the cell that matches what they selected. I would like the macro to search from B:60 - B629. Thanks in advance for your time and help!

  2. #2
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: Macro to jump to a cell that matches the text selected from a dropdown list.

    In the code assigned to the search button, put the following:

    Please Login or Register  to view this content.
    It might be better to name your ranges so if they change, you don't need to change the code:

    Please Login or Register  to view this content.
    Acts 4:12
    Salvation is found in no one else, for there is no other name under heaven given to mankind by which we must be saved.

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

    Re: Macro to jump to a cell that matches the text selected from a dropdown list.

    This can probably be done without VBA at all, using just the HYPERLINK formula.

    Attach a sample workbook and I'll see if it's possible with your layout. Make sure it's obvious which drop down to link to.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    _________________
    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!)

  4. #4
    Registered User
    Join Date
    01-13-2014
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Macro to jump to a cell that matches the text selected from a dropdown list.

    The code worked great. Thanks!!

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

    Re: Macro to jump to a cell that matches the text selected from a dropdown list.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. macro to unhide row when a dropdown list item is selected
    By ahng in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-29-2012, 07:17 AM
  2. Help with Macro/formula - Lookup that returns Dropdown List of matches
    By alfykunable in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-27-2012, 12:43 AM
  3. Replies: 2
    Last Post: 07-08-2012, 04:46 AM
  4. [SOLVED] Jump to Sheet Dropdown List
    By Dave Peterson in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 04:05 AM
  5. Jump to Sheet Dropdown List
    By Mike in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM

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