Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. 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 Excel in Microsoft 365


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 Excel in Microsoft 365. 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

Applying Standard Headers and Footers to a Document

When you attach a template to a document, it doesn't modify the documents headers or footers. This tip provides three ...

Discover More

Determining the Template Attached to a Document

If you've opened a document in Word, that document has a template attached to it. This tip looks at what those templates ...

Discover More

Finding Word's Font Substitutes

Different machines can have different fonts installed on them. Because of this, it is possible for a document that looks ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (ribbon)

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

Stopping a Worksheet from being Moved or Copied

Want to stop a user from moving or copying a worksheet? This task (like many) can be more complex than one would hope. ...

Discover More

Password Protecting Specific Columns in a Worksheet

When you are developing a worksheet for others to use, you might want to protect some of the information in that ...

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 8 + 7?

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.