+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Prevent Worksheet Scrolling

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    06-21-2010
    Location
    -
    MS-Off Ver
    Excel 2010
    Posts
    1,211

    Prevent Worksheet Scrolling

    Is there a way to 'prevent' a worksheet from scrolling?

    I have created a worksheet, but it will appear differently on users pc's based on their screen resolution. I would like to be able to only show the horizontal scrollbar if it is actually required because the user's screen resolution isn't high enough to show the whole screen.

    I can turn the scrollbars off in the advanced settings, but this doesn't prevent the sheet from scrolling, is ther any way to achieve this if a specified number of columns can be viewed without the need to scroll and to then show the horizintal scrollbar if not?

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Prevent Worksheet Scrolling

    What about hiding all the columns past the data and then hide the horizontal scroll bar?
    HTH
    Regards, Jeff

  3. #3
    Forum Contributor
    Join Date
    06-21-2010
    Location
    -
    MS-Off Ver
    Excel 2010
    Posts
    1,211

    Re: Prevent Worksheet Scrolling

    I tried that one already, but it doesn't prevent the worksheet from scrolling with the mouse, again, not a big deal, but would just be a nice touch...

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Prevent Worksheet Scrolling

    Well sorry I don't have a mouse to scroll on this laptop

  5. #5
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Prevent Worksheet Scrolling

    How about this,
    My screen is huge ,so you will have to set the scroll area yourself.

     
        Me.ScrollArea = "A1:O34"
    Put this in a workbook open and apply to all sheets, or just to the ones you need?
    Be fore warned, I regularly post drunk. So don't take offence (too much) to what I say.
    I am the real 'Napster'
    The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Ships? motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then, one day...

    If you receive help please give thanks. Click the * in the bottom left hand corner.

    snb's VBA Help Files

  6. #6
    Forum Contributor
    Join Date
    06-21-2010
    Location
    -
    MS-Off Ver
    Excel 2010
    Posts
    1,211

    Re: Prevent Worksheet Scrolling

    JapanDave,

    Many thanks, I'll give this a go...

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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