Written by Allen Wyatt (last updated December 20, 2023)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and 2021
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.
Dive Deep into Macros! Make Excel do things you thought were impossible, discover techniques you won't find anywhere else, and create powerful automated reports. Bill Jelen and Tracy Syrstad help you instantly visualize information to make it actionable. You’ll find step-by-step instructions, real-world case studies, and 50 workbooks packed with examples and solutions. Check out Microsoft Excel 2019 VBA and Macros today!
If you receive a protected worksheet that you want to edit, how do you proceed if you try to unprotect the worksheet and ...
Discover MoreExcel allows you to protect your worksheets so they can only be changed as you want to have happen. If you unprotect a ...
Discover MoreWant to hide certain columns within a worksheet so the contents are not visible to others? The answer lies in formatting ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
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.
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.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments