+ Reply to Thread
Results 1 to 5 of 5

Scroll to the specific cell from dropdown menu.

  1. #1
    Forum Contributor
    Join Date
    05-10-2016
    Location
    EUROPE
    MS-Off Ver
    Excel 365 64 bitt
    Posts
    178

    Scroll to the specific cell from dropdown menu.

    Hi,

    I have on B2 a dropdown menu that contains following texts: Television(cell A5), Stereo(cell A8) and Mobile(cell A11)

    How to create a VBA code that: when I select from dropdown menu for example Stereo, it will scroll to cell A8.



    Thanks in advance.
    B.
    Attached Images Attached Images

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,908

    Re: Scroll to the specific cell from dropdown menu.

    To start with.

    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Forum Contributor
    Join Date
    05-10-2016
    Location
    EUROPE
    MS-Off Ver
    Excel 365 64 bitt
    Posts
    178

    Re: Scroll to the specific cell from dropdown menu.

    Hi,

    Thank you for this solution. This is finding the correct cell after matching.
    Do you know how can I modify the code so it also scroll to the right cell after matching (I mean ActiveWindow.ScrollRow = 8 ►would be for Stereo)

    Thanks for helping.
    B.

  4. #4
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,908

    Re: Scroll to the specific cell from dropdown menu.

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    05-10-2016
    Location
    EUROPE
    MS-Off Ver
    Excel 365 64 bitt
    Posts
    178

    Re: Scroll to the specific cell from dropdown menu.

    Hi,

    It works well. Thanks a lot for this. I am also trying to figure it out how to unhide the below rows of the matched result.
    That say that it scrolls to Mobile and if under Mobile rows 12 and 13 are hidden. How can I unhide those rows automatically all the way to the row that contains for example END3 value?
    I need this also for other products Stereo and so on (for Stereo would be the END2 value). The reason I need this is because there are many products and the list is this way mutch shorter if I hide specific rows.

    Sorry for asking continually under this same thread. Just that when I run the VBA code i get stuck to continue to get the hole problem solved :-(

    Thanks for any help I can get.
    B.

+ 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] make dropdown menu dependent on other dropdown menu values
    By kosherboy in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-30-2015, 04:29 PM
  2. Dropdown menu to affect a cell's formula
    By Adriandiaz101 in forum Excel - New Users/Basics
    Replies: 10
    Last Post: 08-30-2013, 09:23 PM
  3. Create a Dropdown menu that can return weekly subtotals from specific ranges
    By riceguy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-18-2013, 01:15 PM
  4. [SOLVED] Excel 2007 : new drop down menu based on dropdown menu in previous cell
    By martinpols in forum Excel General
    Replies: 3
    Last Post: 04-30-2012, 02:33 AM
  5. Set a date with dropdown menu in different cell
    By feddon in forum Excel General
    Replies: 3
    Last Post: 06-20-2011, 08:17 AM
  6. Replies: 1
    Last Post: 02-06-2010, 11:09 AM
  7. In cell dropdown menu size
    By cmb80 in forum Excel General
    Replies: 1
    Last Post: 08-19-2009, 09:40 AM

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