+ Reply to Thread
Results 1 to 5 of 5

How to automatically go thorough a scroll bar range

  1. #1
    Registered User
    Join Date
    02-08-2014
    Location
    Coventry
    MS-Off Ver
    Excel 2007
    Posts
    3

    How to automatically go thorough a scroll bar range

    I haven't a clue how to do this and don't know if this is even possible. I'm trying to learn how to create a dashboard and have a scroll bar which links to a table and populates with a different chart whenever the scroll bar is clicked.

    I would like the scroll bar to go through its full range automatically and I thought I could record a macro to do this. However, I have been searching various forums and cant find an answer. I'm a newbie when it comes to macros so any help would be appreciated

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: How to automatically go thorough a scroll bar range

    One way is simply to change the value of the linked cell.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    02-08-2014
    Location
    Coventry
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: How to automatically go thorough a scroll bar range

    Cheers Andy, you are a genius. One small favour though. Is there a quick way to make it loop back to the start again? I can copy the code again to do this but it will become cumbersome to do this all the time.

  4. #4
    Registered User
    Join Date
    02-08-2014
    Location
    Coventry
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: How to automatically go thorough a scroll bar range

    Andy, I think I solved it. Bit of reading on loops and then a bit of guesswork. I initially put Do while 1ngIndex < 11 but it didnt work so I changed it to Do While Range("C3") < 11 and I think its fine now. Thanks for your help.

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: How to automatically go thorough a scroll bar range

    This one will scroll until the button is pressed again.
    Attached Files Attached Files

+ 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. Scroll Down Automatically in Shared Workbook
    By kdhynes45 in forum Excel General
    Replies: 5
    Last Post: 10-08-2012, 11:25 AM
  2. [SOLVED] VBA Code for Making a Sheet Scroll Automatically
    By Clue_Less in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-17-2012, 12:46 PM
  3. Automatically scroll when navigating controls Using TAB key
    By mstasko1990 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-14-2010, 03:05 PM
  4. how to automatically scroll down when cell is selected
    By 2funny4words in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-13-2009, 08:44 PM
  5. Macro To Scroll Worksheet Automatically ?
    By brazen234 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-09-2006, 10:50 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