+ Reply to Thread
Results 1 to 2 of 2

How to resize scroll-bars to their original values

  1. #1
    Registered User
    Join Date
    01-19-2013
    Location
    Roma, Italia
    MS-Off Ver
    Microsoft Office Excel 2007
    Posts
    1

    How to resize scroll-bars to their original values

    Hello everyone!
    My first post here. I am a total newbie on VBA.
    I looked into the forum and found different answers to this problem but none of those matched my specific needs.
    Here is my problem:
    For some reason after I run a code I wrote I find myself with very very little scroll-bars, as if I used many more rows/columns then what I actually did. I can't find an explanation for this by looking at the code I wrote.
    Is there a way to set back the size of the scroll-bars to their original "standard" value through a VBA command line (or, if not, through the normal point and click Excel 2007's window)?

    I have the impression that, having so little ram on my netbook, having so small scroll-bars really slows down the pc: it is like it has to load an enormous amount of cells!

    Thank you very much for any help you can give me.

    Regards,
    Giovanni.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: How to resize scroll-bars to their original values

    Ho giovan and welcome to the forum

    there is no way to "re-set" the scroll bar size, it gets "set" like that based on the amount or rows and columns you have "used"

    What you need to do to fix this, is 1st, , click end-home to see where the cursor lands. It will probably be way lower and to the right of the last actual cell of data that you have. delete all rows and columns that are below and to the right of your last row/column of data (make sure you dont have data that you need, hidden some where. when you save and reopen the file, the scroll bars should have changed size.

    However, take a look at your code and see what is causing an entry right out in the middle of nowhere - if necessary, step through it to see
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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