+ Reply to Thread
Results 1 to 5 of 5

Combo Box - GO TO specific cell depending on value in list

  1. #1
    Forum Contributor
    Join Date
    06-18-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    104

    Combo Box - GO TO specific cell depending on value in list

    Hi All,

    I have a combo box that I would like to GO TO a specific cell based on a value in the list. Since I am struggling to describe what I'd like, I posted a very simple spreadsheet. For example, if "dogs" is selected in the drop down box, I'd like the cursor to automatically go to cell A39. Any help would be much appreciated.

    -Scott

    Attachment 356424

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Combo Box - GO TO specific cell depending on value in list

    Try:
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Contributor
    Join Date
    06-18-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    104

    Re: Combo Box - GO TO specific cell depending on value in list

    Olly, that worked well, but only when I go into VBA and click "run". Is there a way for it to automatically move across the sheet without having to open VBA? Is it an afterupdate on the combo box?

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Combo Box - GO TO specific cell depending on value in list

    In your example workbook, your combobox is a Form control. Just assign the macro to the combobox - right click it, select "Assign Macro", choose the macro you want.

    If it was an ActiveX combobox, you could just paste the code into the combobox_change event subroutine.

  5. #5
    Forum Contributor
    Join Date
    06-18-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    104

    Re: Combo Box - GO TO specific cell depending on value in list

    Worked perfectly - thank you.

+ 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. [SOLVED] Copying a specific Row from another sheet depending on a cell value
    By OAKLEY in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-19-2013, 03:52 AM
  2. copy a cell multiple times depending on cell value starting on a specific cell
    By weritadiojomiel in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-17-2013, 05:25 AM
  3. Macro that is column specific & changes cell color depending on cell contents
    By zurispowell in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-25-2012, 05:03 PM
  4. Fill specific cell depending on the number provided in a cell
    By ifticalgary in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-25-2011, 03:13 PM
  5. Update the list of a combo box, depending on another c.b
    By Ctech in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-20-2006, 01:15 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