Protect Sheet controls what people can change on an individual worksheet; Protect Workbook protects the workbook’s sheet structure, such as whether sheets can be added, renamed, moved, hidden, or deleted. Neither setting encrypts the file or is a substitute for controlling who can open it.
What each protection setting does
Think of a workbook as a folder of worksheets. Sheet protection applies to the contents and permitted actions on one worksheet. Workbook structure protection applies to the arrangement of worksheets inside the file. You can use either setting on its own, or use both when you need to control both cell editing and sheet organization.
- Protect Sheet: restricts actions on the selected worksheet, such as editing locked cells, formatting cells, inserting rows, or sorting. The available restrictions depend on the options selected when protection is turned on.
- Protect Workbook: when you protect the workbook’s structure, restricts changes to the workbook’s sheets, including adding, deleting, moving, renaming, hiding, and unhiding sheets.
These controls are independent. For example, you can protect the structure so nobody can rename a sheet, while leaving the cells on that sheet editable. Conversely, you can protect cells on a worksheet while leaving the workbook structure open to changes.
How Protect Sheet works
Excel cells have a Locked property, but that property does not by itself prevent editing. It takes effect when you protect the worksheet. In a new worksheet, cells are generally marked as locked by default, so protecting a sheet without preparing it first can make nearly the whole sheet difficult to edit. The usual approach is to unlock the cells intended for data entry, then turn on protection.
In Excel for Microsoft 365 on Windows, select the cells users should be able to change. On the Home tab, choose Format > Format Cells, open the Protection tab, and clear Locked. Then go to Review > Protect Sheet. Choose the actions to allow, enter a password if desired, and confirm it if Excel prompts you. A password is optional for turning on sheet protection, but anyone who needs to unprotect the sheet may need it.
The Protect Sheet dialog can allow selected actions, including selecting locked or unlocked cells, formatting cells, inserting rows, and sorting. Options can vary with the worksheet’s contents and Excel version. Choose only the permissions that suit the task. For a simple form, for instance, allow users to select unlocked cells but not format them or insert rows. For a table that users must sort, allow sorting, and check that the protection settings support the way the table is used.
To remove sheet protection in Windows, use Review > Unprotect Sheet. If a password was set, Excel asks for it. On Mac, protection commands are also on the Review tab in current Excel versions, although dialog layouts and some menu labels can differ. In Excel for the web, use the Review tab’s sheet-protection controls; available options may be more limited than in the desktop app.
How Protect Workbook works
In this context, Protect Workbook usually means protecting the workbook’s structure, not locking every worksheet’s cells. In Windows Excel, open Review > Protect Workbook and enable the structure protection option in the dialog. Set and confirm a password if you want the setting to require one to be turned off. While structure protection is active, commands such as renaming, moving, deleting, hiding, or adding sheets are restricted.
To remove that restriction, return to Review > Protect Workbook and provide the password if requested. The exact dialog wording can vary by version. On Mac, use the Review tab’s workbook-protection command; the location and wording may differ slightly. Excel for the web has fewer workbook-structure management features than desktop Excel, so use the desktop app if the relevant protection command is unavailable in your browser.
Protecting structure does not automatically protect worksheet contents. If a sheet is not protected, people may still edit its cells even while they cannot rename or delete that sheet. Likewise, protecting one sheet does not stop someone from adding another sheet if workbook structure is unprotected.
Which one should you choose?
Choose protection according to the change you want to prevent. If the issue is accidental edits to formulas or labels, protect the worksheet and leave designated input cells unlocked. If the issue is someone rearranging or removing tabs, protect workbook structure. If both kinds of mistakes matter, enable both and test the result with the actions your users need.
- For an invoice template: unlock fields such as quantity and customer name, protect the worksheet, and leave formula cells locked. Protect workbook structure too if users should not rename or remove the template’s sheets.
- For a monthly reporting workbook: protect formula-heavy worksheets, but allow users to enter data in intended input ranges. Protect structure if the tabs must stay in a fixed order or users should not hide a reporting sheet.
- For a workbook where users may add new project tabs: protect individual sheets as needed, but do not protect workbook structure if adding sheets is part of the workflow.
- For a file containing confidential information: neither of these settings is enough to prevent someone from opening or reading the workbook. Use an opening password or appropriate file-access permissions instead.
Protection is not the same as encryption
This distinction matters. Worksheet protection is mainly a way to guide editing and prevent accidental changes. Microsoft does not describe it as a security feature for safeguarding sensitive data. A protected worksheet may still expose its contents to someone who can open the file, and protection should not be treated as a barrier against a determined person trying to access data.
Workbook structure protection also does not require a password merely to open the workbook or view its contents. It restricts certain structural changes after the file is open. If you need to require a password to open a workbook, use file encryption: in Windows Excel, go to File > Info > Protect Workbook > Encrypt with Password. Set a strong password and store it safely. Microsoft cannot retrieve a forgotten password for you. The exact command path can differ on Mac, and encryption options may not be available in Excel for the web.
For files stored in OneDrive or SharePoint, access permissions can also help control who can open or edit a file. Those permissions are separate from worksheet and workbook protection. For sensitive material, consider both the file’s access settings and whether the information belongs in the workbook at all.
Common problems and misconceptions
- Everything became read-only after protecting a sheet: this often happens because the cells intended for entry were not unlocked first. Unprotect the sheet, clear Locked for the input cells, and protect it again.
- A user can still edit a different sheet: Protect Sheet applies to the selected worksheet only. Repeat the setup for each sheet that needs cell-level restrictions.
- A user can edit cells but cannot rename a tab: this is expected when workbook structure is protected but the worksheet itself is not.
- A protected sheet is being treated as confidential: protection does not stop someone who can open the file from viewing its data. Use encryption or access permissions for confidentiality.
- A password has been forgotten: Excel does not provide a general password-recovery service for protected sheets, workbook structure, or encrypted files. Check with the file owner or look for an authorized backup or an earlier copy.
Protection can also affect routine work. Users may be unable to apply filters, sort data, format cells, or insert rows unless those actions were allowed when the sheet was protected. Before distributing a workbook, try the common tasks from a typical user’s perspective. If a permission is needed, unprotect the sheet, adjust the settings, and protect it again.
Protection compared with sharing and permissions
Protection settings live in the workbook and govern certain actions within it. Sharing permissions are about access to the file itself: they can determine whether a person can view or edit a file stored in a service such as OneDrive or SharePoint. These controls answer different questions. Sheet protection asks, in effect, which worksheet actions are allowed; file permissions ask who can access the workbook and at what level.
For a team workflow, do not assume that protecting a sheet makes collaboration safer or more reliable. Give collaborators the file permissions they need, protect formulas or layout where accidental edits are likely, and clearly identify the cells they are expected to fill in. If people need different access to different data, separate files or appropriately managed permissions may be more suitable than relying on sheet protection alone.
Frequently Asked Questions
Does Protect Workbook protect all the cells in Excel?
No. Protect Workbook’s structure option restricts changes to worksheet tabs and their arrangement. Protect each worksheet separately if you need to restrict cell editing.
Can I protect a sheet but let people edit certain cells?
Yes. Before protecting the sheet, select the input cells and clear their Locked setting using Home > Format > Format Cells > Protection. Then protect the worksheet. Locked cells remain restricted while unlocked cells can be edited.
Can someone open a workbook protected with Protect Sheet?
Yes, generally. Protect Sheet is not an opening password and does not encrypt the workbook. Use File > Info > Protect Workbook > Encrypt with Password in Windows Excel when the goal is to require a password to open the file.
Can I protect a workbook’s structure without protecting its sheets?
Yes. Structure protection and sheet protection are separate. Users may be able to edit cells on an unprotected sheet even if they cannot add, delete, rename, move, hide, or unhide sheets.
What should I do if I need both protections?
Unlock the cells users are allowed to edit, protect each relevant worksheet with suitable permissions, and then protect workbook structure if tabs must not be changed. Test the workbook before sharing it, and use encryption or file permissions separately if access to the data must be limited.
Related
- Excel Paste Text Without Text to Columns?
- Excel Paste and Remove Duplicates: Steps and Safety
- Excel Text to Columns: Split Pasted Data Into Fields
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- How to Make a Monthly Budget Plan in Google SheetsTo make a monthly budget plan in Google Sheets, create columns for spending categories, planned amounts, and actual…
- Google Sheets IF Cell Contains: Formulas and ExamplesTo check whether a Google Sheets cell contains particular text, combine IF, ISNUMBER, and SEARCH. For example, if…
- Clear Calendar Cache in New Outlook: Step-by-StepTo clear the calendar cache in New Outlook for Windows, open Settings > General > Privacy and data,…
- Excel Day and Date Formats: Codes, Examples, and FixesIn Excel for Microsoft 365 on Windows, a date’s day and date format controls how its value appears,…
- Google Sheets Duplicate Data: Find and Remove ItYes. Google Sheets can find, highlight, and remove duplicate data: use Data > Data cleanup > Remove duplicates…
- Excel Slicer: Keep It Visible While Scrolling a WorksheetExcel does not have a built-in pin-to-screen command for slicers. The closest worksheet-based workaround is to place the…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.