+ Reply to Thread
Results 1 to 4 of 4

scroll bar to automatically reset- vba?

  1. #1
    Registered User
    Join Date
    08-03-2014
    Location
    Sydney, Australia
    MS-Off Ver
    2010
    Posts
    37

    Question scroll bar to automatically reset- vba?

    Hi,

    I have my sheets set with vba so they go to a1 everytime however, as i'm using panes on my sheet- it can go to a1 but still be offset when you return to sheet- is there anyway of setting a vba that resets the scroll bars to make sure horizontal is far left and vertical at the top??

    Hope that makes sense

    cheers

  2. #2
    Forum Contributor
    Join Date
    08-15-2012
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    349

    Re: scroll bar to automatically reset- vba?

    Something like this;

    Please Login or Register  to view this content.
    Please click the * Add Reputation if this helps
    If solved remember to mark Thread as solved

    "I'm glad to help and this is not meant to sound smart, but either you have super-human vision to see all those controls cleared one by one with the code I posted, or your computer is really slow."

  3. #3
    Registered User
    Join Date
    08-03-2014
    Location
    Sydney, Australia
    MS-Off Ver
    2010
    Posts
    37

    Re: scroll bar to automatically reset- vba?

    HI thanks for the post and seems like that should work but it doesn't- i know you have "sheet 1" there so i replaced that with my sheet which is "ALG" but still doesn't work- i also want to this for all my sheets so if anyone has the answer can you explain with multiple sheets please.

    Thank You!

  4. #4
    Forum Contributor
    Join Date
    08-15-2012
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    349

    Re: scroll bar to automatically reset- vba?

    Did you put the code in worksheet module?

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: scroll bar to automatically reset- vba?

    Quote Originally Posted by davehow87 View Post
    resets the scroll bars to make sure horizontal is far left and vertical at the top??
    Can you plesae explain it in more descriptive way for my better understanding


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

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

    Re: scroll bar to automatically reset- vba?

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

+ 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. Can a vertical scroll bar be reset?
    By dawgfan in forum Excel General
    Replies: 35
    Last Post: 01-06-2023, 01:29 AM
  2. Macro for a form control button to reset scroll bars to a static column of numbers
    By urbphoto in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-08-2014, 04:13 PM
  3. Replies: 1
    Last Post: 03-18-2014, 06:33 PM
  4. Reset parts of worksheet automatically, but not others
    By MDCK in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 12-11-2008, 06:16 PM
  5. Is there any way to reset scroll down menus using a button?
    By Excelishard in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 05-03-2006, 12:33 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