+ Reply to Thread
Results 1 to 3 of 3

Scroll bars

Hybrid View

amsanborn Scroll bars 01-19-2010, 03:41 PM
dominicb Re: Scroll bars 01-19-2010, 04:12 PM
amsanborn Re: Scroll bars 01-19-2010, 04:31 PM
  1. #1
    Registered User
    Join Date
    12-19-2008
    Location
    Vancouver,WA
    MS-Off Ver
    2007 Excel
    Posts
    87

    Scroll bars

    I have forms and want the scrol bars to only move the form to the edge of the sheet instead of ten or mor cell beyond.
    Last edited by amsanborn; 01-20-2010 at 06:55 PM.

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile Re: Scroll bars

    Good evening amsanborn
    Quote Originally Posted by amsanborn View Post
    I have forms and want the scrol bars to only move the form to the edge of the sheet instead of ten or mor cell beyond.
    You have two choices here, that aren't quite perfect, but should help out. We'll assume that your form extends from A1:Z100 on Sheet1.
    1. Hide all rows from 101 to 65536, and all columns from AA to IV. This will mean that no-one can move beyond your prescribed range.
    2. Alternatively, limit the ScrollArea : the only way to do this is via the VBE or using a macro. Use this macro in your ThisWorkbook module to perform the function every time the workbook is opened (the scrollarea once set does not save with the workbook) :
    Private Sub Workbook_Open()
    Sheets("Sheet1").ScrollArea = ("A1:Z100")
    End Sub

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  3. #3
    Registered User
    Join Date
    12-19-2008
    Location
    Vancouver,WA
    MS-Off Ver
    2007 Excel
    Posts
    87

    Re: Scroll bars

    thanks i well give it a try

+ 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