There was a problem loading the comments.

Lock certain excel cells

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

If you want to prevent editing in certain cells, you can lock these cells. By default, all cells in an Excel worksheet are locked, but this does not take effect until you protect the worksheet. Here's how you can lock specific cells:

  1. Unlock all cells

    1. Select all cells in the worksheet by clicking the corner of the worksheet or pressing Ctrl+A.

    2. Right-click and select Format Cells.

    3. Click on the Protection tab, uncheck the Locked option, and click OK.

  2. Lock specific cells

    1. Select the cells you want to lock.

    2. Right-click and select Format Cells.

    3. Click on the Protection tab, check the Locked option, and click OK.

  3. Protect the worksheet

    1. Go to the Review tab on the ribbon.

    2. Click Protect Sheet.

    3. Enter a password if desired (optional, but remember it if you do, you will need it to unprotect the sheet), ensure Protect worksheet and contents of locked cells is checked, and then click OK.

Now, users will not be able to edit the locked cells, but they will still be able to edit the other cells. Be aware that if you lock a cell, it won't be possible for users to enter data or change the existing data in that cell, unless the worksheet protection is removed.

Also, keep in mind that this is not a high-security measure, it's mainly intended to prevent accidental changes. A knowledgeable user can easily remove the protection.


Share via
Did you find this article useful?  

Comments

Add Comment

Replying to  

© Aretaeio Hospital