+ Reply to Thread
Results 1 to 2 of 2

Protection Issues on a Sheet

  1. #1
    Registered User
    Join Date
    05-16-2018
    Location
    Newcastle Maitland
    MS-Off Ver
    365
    Posts
    8

    Protection Issues on a Sheet

    Hi Everyone

    Hoping someone could point me in the right direction.

    I have a sheet where I want to lock down certain aspects of it;
    - All columns are to remain the same width, eg no resizing, unhiding etc
    - Rows 1-7 are to be fully locked down, only editable by macros
    - After rows 8 onwards, I would like to give the user as much functionality as possible, eg: Delete rows, Resize rows, Add rows, filters, grouping, sorting.

    I have the following code, which for some reason works on a new blank sheet however doesnt allow for delete rows etc on the sheet I need to use it on. On the sheet I am trying to use it on I have Named Ranges, Grouping, Hidden Columns, Styles, Conditional Formatting, Merged Cells. Not really sure what of this could be effecting it?

    Code below:

    Please Login or Register  to view this content.
    Any additional advice on how to enable as much functionality on the lower cells would also be kindly appreciated.

    Thanks in advanced.
    Last edited by Dessy277; 11-20-2022 at 02:48 AM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: Protection

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code] tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (I have added them for you - this time )

    Also, Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (again, I have made the adjustment for you)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Protection of Spreadsheet protection
    By Missions Conseils in forum Excel General
    Replies: 3
    Last Post: 11-22-2012, 12:03 PM
  2. Excel 2010 - Copying sheet with protection manually, protection stays... not with VBA
    By AdamParker in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-02-2012, 12:38 PM
  3. protection
    By tofimoon4 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 02-26-2009, 04:15 AM
  4. Semi-Protection Want Hidability AND Protection
    By mbf1999 in forum Excel General
    Replies: 1
    Last Post: 11-17-2007, 01:24 PM
  5. Protection
    By Neight in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-21-2007, 05:47 PM
  6. Replies: 4
    Last Post: 05-02-2006, 11:55 AM
  7. Protection
    By ryanmhess in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-01-2005, 05:30 PM

Tags for this Thread

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