+ Reply to Thread
Results 1 to 7 of 7

Set size of page

  1. #1
    Registered User
    Join Date
    07-21-2009
    Location
    pretoria SA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Set size of page

    Hi
    How to you limit the size of a "sheet" so th euser can not scrol down pass the data?

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097

    Re: Set size of page

    Hi,

    Welcome to the forum, if your last row is say A56, then select the row 57, then press Ctrl+Shift+Down Arrow, right click > Hide.

    Same applies when doing it to the columns, but Ctrl+Shift+Right Arrow
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    07-21-2009
    Location
    pretoria SA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Wink Re: Set size of page

    Thx for the quick reply.
    You can however stil scroll down into the "hiden area". I would like to stop this

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Set size of page

    right click sheet tab / view code (or alt+f11)
    now in the properties window(if you cant see it hit f4)
    set the scroll area
    say
    $A$1:$g$20
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Registered User
    Join Date
    07-21-2009
    Location
    pretoria SA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Set size of page

    Thx Martin. One the money

  6. #6
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097

    Re: Set size of page

    Quote Originally Posted by Johann 12081 View Post
    Thx Martin. One the money
    Nobody mentioned money Well done Martin

  7. #7
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Set size of page

    Or you can write something like this in your Workbook_Open event macro.
    This way you can be sure that the scroll area will be fixed everytime the workbook is opened.
    I usually create another macro to reset the scroll area for myself. If you protect your VBA code with password and make that macro Private, other users can't use it. That way if you want to modify the workbook, you will have an easy way to reset the scroll area.


    Please Login or Register  to view this content.

    To reset it, put this in another macro
    Please Login or Register  to view this content.




    modytrane

+ 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