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

Deleting Rows before a Cutoff Date

If you are using Excel to work with data that is date-centered, you may want to delete some of the data before a specific ...

Discover More

Replacing a Dimmer Switch

Dimmer switches can be very helpful in creating a soothing atmosphere or an alert atmosphere, all at the twist of a knob. ...

Discover More

Adding Automatic Lines

Want an easy way to add lines in your document? You can do it by making sure Word is using one of its AutoFormat features.

Discover More

Best-Selling VBA Tutorial for Beginners Take your Excel knowledge to the next level. With a little background in VBA programming, you can go well beyond basic spreadsheets and functions. Use macros to reduce errors, save time, and integrate with other Microsoft applications. Fully updated for the latest version of Office 365. Check out Microsoft 365 Excel VBA Programming For Dummies today!

More ExcelTips (ribbon)

Locking All Non-Empty Cells

Need to make sure that your worksheet is locked, with only the blank cells accessible to editing? You can do this easily ...

Discover More

Preventing Someone from Recreating a Protected Worksheet

When you share a protected workbook with other people, you may not want them to get around the protection by creating a ...

Discover More

Visually Showing a Protection Status

Need to know if a worksheet or workbook is currently protected? Excel provides some tell-tale signs, but here are some ...

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 eight more than 9?

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.