+ Reply to Thread
Results 1 to 4 of 4

VB to remove scroll area limit?

  1. #1
    Forum Contributor
    Join Date
    09-16-2013
    Location
    Los Angeles, USA
    MS-Off Ver
    Excel 2011
    Posts
    620

    VB to remove scroll area limit?

    How do I remove a scroll area limit, other than setting it to the full row/column range of excel?

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: VB to remove scroll area limit?

    Hi, Nitefox,

    maybe like
    Please Login or Register  to view this content.
    Thatīs taking away any ScrollArea from the sheet (if thatīs what you want and asked for).

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,765

    Re: VB to remove scroll area limit?

    Set:

    Please Login or Register  to view this content.

    Reset:

    Please Login or Register  to view this content.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


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

    Re: VB to remove scroll area limit?

    To set Scroll Area manually:

    On the Ribbon, click the Developer tab, and click Properties
    In the Properties window, enter a range address in the ScrollArea property box
    Click on the worksheet, and you will be restricted to clicking and scrolling in the Scroll Area.

    To manually clear the Scroll Area:

    On the Ribbon, click the Developer tab, and click Properties
    In the Properties window, delete the address in the ScrollArea property box
    Click on the worksheet, and you will be able to click and scroll freely (assuming that the sheet is not protected).


    Set Scroll Areas With a Macro

    The Scroll Area settings are cleared when you close the workbook, and you have to set them again, each time the file opens. You can use a macro to set them, as part of the Workbook_Open procedure.

    Copy this macro to a regular module in your workbook. It will set the Scroll area for each worksheet in the file, based on the Used Range on that sheet.

    Please Login or Register  to view this content.
    Add the macro name to the Worksheet_Open procedure in the ThisWorkbook module.

    Please Login or Register  to view this content.
    Source:- http://blog.contextures.com/archives...cel-worksheet/


    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

+ 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. Replies: 3
    Last Post: 08-13-2013, 11:22 AM
  2. Limit scroll area to a union
    By Einstahb in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-31-2011, 08:44 PM
  3. Restrict Scroll Area to Visible Area
    By Zimbo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-23-2008, 09:28 AM
  4. Replies: 2
    Last Post: 08-14-2006, 08:15 PM

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