+ Reply to Thread
Results 1 to 7 of 7

Protect a range of cells within a sheet

  1. #1
    Registered User
    Join Date
    11-20-2012
    Location
    Edmonton Alberta
    MS-Off Ver
    Excel 2010
    Posts
    7

    Protect a range of cells within a sheet

    How can I protect selected cells with formulas but not protect the whole sheet in excel 2010. I have searched the forum but nothing I have found works. The whole sheet gets protected and a user cannot make changes anywhere

    Thanks in advance

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Protect a range of cells within a sheet

    Test for a leftmost equal sign in the Worksheet_SelectionChange event??

    And, then if found:
    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    11-20-2012
    Location
    Edmonton Alberta
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Protect a range of cells within a sheet

    Sorry not sure what that means

  4. #4
    Valued Forum Contributor
    Join Date
    07-27-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    826

    Re: Protect a range of cells within a sheet

    SueMac,

    If you only have a few cells to protect, then select the entire sheet -> right-click -> Format cells -> Protection. UNcheck the "Locked" checkbox - this will "unprotect" (basically deselect) all the cells, should you chose to protect your sheet.

    Then, selecting only the cells you want protected, follow the above procedure, but this time, check the "Locked" box.

    When you now apply password protection to your entire sheet, only the cells where you have selected "Locked" will be protected.
    Brendan.


    __________________________________________________________________________________________________
    Things to consider:

    1) You can thank any poster by clicking the * at the left of a helpful post.
    2) You can help to keep the forum tidy by marking your thread as "Solved", if it has been answered to your satisfaction.
    3) Help us to help you, by uploading a sample workbook, showing the type of data you're dealing with, and clearly indicating what the results should be.

  5. #5
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Protect a range of cells within a sheet

    That didn't work anyway - try this instead:

    Please Login or Register  to view this content.
    or you could select a "safe" cell.

  6. #6
    Registered User
    Join Date
    11-20-2012
    Location
    Edmonton Alberta
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Protect a range of cells within a sheet

    Thank you Brendan, that worked perfectly!

  7. #7
    Valued Forum Contributor
    Join Date
    07-27-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    826

    Re: Protect a range of cells within a sheet

    Glad to help, Sue.

    If your query has been answered to your satisfaction - as it appears to be - could you please mark this thread "solved". Thank you.

+ 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