+ Reply to Thread
Results 1 to 7 of 7

How to maintain scroll area and also protect sheet

  1. #1
    Forum Contributor
    Join Date
    06-19-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2019
    Posts
    151

    How to maintain scroll area and also protect sheet

    Hi.

    I have been locking the scroll using the vba and it works great. However, when i 'protect sheet' it stops the scroll lock.

    How do i do both, set a certain scroll area and also protect the sheet so other users can not delete or move graphs?

    Thanks.
    Adam.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: How to maintain scroll area and also protect sheet

    How have you been locking the scroll with VBA?
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    06-19-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2019
    Posts
    151

    Re: How to maintain scroll area and also protect sheet

    Hi.

    I have been right clicking on the tab at the bottom of the worksheet and then typing in 'scrollarea' the area i want to stop eg a1:v40.

    Do you think this is possible to achieve?

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: How to maintain scroll area and also protect sheet

    Quote Originally Posted by ACrossley1 View Post
    I have been right clicking on the tab at the bottom of the worksheet and then typing in 'scrollarea' the area i want to stop eg a1:v40.
    Sorry, I don't know what this means. You said you were using VBA. Please show the VBA code you are using.

  5. #5
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: How to maintain scroll area and also protect sheet

    If you are concerned about the user scrolling to see cells that they shouldn't, you could keep those cells hidden.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  6. #6
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: How to maintain scroll area and also protect sheet

    .
    I'm not experiencing the problem you have described.

    I did some searching and found this resource. Maybe this will help you.

    http://dailydoseofexcel.com/archives...tected-sheets/

  7. #7
    Forum Contributor
    Join Date
    06-19-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2019
    Posts
    151

    Re: How to maintain scroll area and also protect sheet

    Hi.

    Thank you for the responses.

    Yeah everytime i right click and type in the scrollarea the area i want to only show, and then i lock the worksheet it stops the scrollarea lock from working.

    Not sure how to stop this?

+ 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. Print selected area and maintain its location
    By Kevalin O in forum Excel General
    Replies: 4
    Last Post: 03-30-2017, 03:39 AM
  2. Replies: 0
    Last Post: 03-17-2016, 09:51 AM
  3. [SOLVED] Excel VBA - Scroll Area Range to adjust based on the no. of rows in the sheet
    By Vinod Krishna.C in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-20-2013, 04:50 AM
  4. Setting scroll area within the sheet
    By ABSTRAKTUS in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-19-2011, 05:42 PM
  5. Restrict Scroll Area to Visible Area
    By Zimbo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-23-2008, 09:28 AM
  6. How to protect desired area of workbook and protect code.
    By avveerkar in forum Excel General
    Replies: 4
    Last Post: 01-12-2006, 10:44 PM
  7. [SOLVED] Scroll Area
    By Paul Dusterhoft in forum Excel General
    Replies: 8
    Last Post: 09-21-2005, 07:05 AM

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