Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and 2021. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Using a Protected Worksheet.

Using a Protected Worksheet

Written by Allen Wyatt (last updated December 20, 2023)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and 2021


4

When you or another user is working in a protected worksheet, there is nothing that immediately draws attention to the fact that any protection is in place. Instead, you can look through a worksheet and see any information it contains. You can also see the cell contents (including formulas) of any cell whose contents were not explicitly hidden.

Differences start to show up when using the tools that Excel makes available on the various ribbon tabs. If a worksheet is protected, certain tools are no longer available. For instance, the cells, columns, or rows in the worksheet cannot be modified or deleted.

The biggest usage differences are evident when you try to change the contents of any cells which are locked. In this instance, Excel displays a dialog box indicating that the worksheet cannot be changed without first unlocking it. If the user still wants to make changes, he or she has no choice at that point other than unlocking the worksheet, if possible.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (10282) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and 2021. You can find a version of this tip for the older menu interface of Excel here: Using a Protected Worksheet.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Replacing Some Smart Quotes

Smart quotes look great in a document, but may not be right for all instances of quote marks or apostrophes. If you need ...

Discover More

Entering Calculations in a Form Field

One of the many uses for Word is to create forms that can be easily filled in by other people. This is made possible by ...

Discover More

Printing Columns and Rows

If you want to print just the contents of a number of rows and columns, it can be challenging to get the output you want. ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (ribbon)

Limiting Input by Time of Day

Excel provides some great tools that allow you to limit what is entered into a worksheet. This tip looks at how those ...

Discover More

Enabling Editing Erases Worksheet

If you receive a protected worksheet that you want to edit, how do you proceed if you try to unprotect the worksheet and ...

Discover More

Functioning Check Boxes in a Protected Worksheet

Want to protect a worksheet but maintain the ability to make changes to the check boxes you add to the worksheet? Here is ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is three less than 6?

2023-12-21 10:10:38

J. Woolley

@George M Durham
See https://www.ablebits.com/office-addins-blog/protect-unprotect-excel-sheet-password/#unprotect-excel-sheet-without-password


2023-12-20 17:05:04

George M Durham

I forgot my password for a protected excel sheet. Is there any way I can find out what the password is and unprotect the sheet?


2022-03-13 14:57:33

J. Woolley

My Excel Toolbox includes the following function to return the protection status (TRUE/FALSE) of a Target cell's worksheet or workbook:
=IsProtected([Choice],[Target])
Choice for a worksheet is Contents (default), Shapes, Interface, or Scenarios
and Choice for a workbook is Sheets (structure) or Windows.
Target's default is the formula's cell.
My Excel Toolbox also includes the following dynamic array function to return the status of the 12 protection options for the formula cell's worksheet:
=ListProtectionOptions()
In older versions of Excel you can use it with the SpillArray function like this:
=SpillArray(ListProtectionOptions())
See https://sites.google.com/view/MyExcelToolbox/


2022-03-12 17:31:59

John Mann

I use sheet protection extensively to prevent myself from inadvertently chnaging something which shouldn't be changed. I also use if for another purpose - to skip over locked cells when moving around and entering data. Typically the locked cells contain formulae referencing unlocked cells, or might contain title or label information which should also be protected.

When protecting a worksheet, a dialogue box appears with a whole list of things which the user can be permited to do. The top two items in the list are "Select Locked Cells", and "Select unlocked cells". I always enable the second, but disable to first. By not enabling the user to Select locked cells, tab, enter, arrow keys, etc skip over the locked cells and therefore one of the consequences is that the formula bar won't display to contents of the locked cell.

I make so much use of protecting and unprotecting worksheets that I've added the command to my QUAT.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.