Appearance
How to Protect a Sheet or Workbook in Excel
Applies to: Microsoft 365 (Excel desktop, Excel for the Web)
Article Type: How-To
Last Updated: 2026-03-09
Summary
Excel lets you lock cells, protect sheets, and protect workbooks to prevent accidental edits. No admin rights are needed — these are user-level protections built into Excel. This article explains the different levels of protection and how to apply them.
Prerequisites
- Microsoft Excel (desktop or web).
Instructions
1. Protect a Worksheet
Prevent other users from editing cells on a specific sheet.
- Open the worksheet you want to protect.
- Go to the Review tab.
- Click Protect Sheet.
- Optionally enter a password (leave blank for protection without a password).
- Choose what users are allowed to do on the protected sheet:
- Select locked cells — users can click on locked cells (but not edit them).
- Select unlocked cells — users can click and edit unlocked cells.
- Format cells, Insert rows, Delete rows, etc. — check the actions you want to permit.
- Click OK. If you set a password, re-enter it to confirm.
2. Unlock Specific Cells Before Protecting
Allow editing of certain cells (e.g., input fields) while locking the rest.
- Select the cells you want to remain editable.
- Press Ctrl+1 to open Format Cells.
- Go to the Protection tab.
- Uncheck Locked.
- Click OK.
- Now protect the sheet (Step 1 above). Only the unlocked cells can be edited.
3. Protect an Entire Workbook Structure
Prevent users from adding, deleting, renaming, or reordering sheets.
- Go to the Review tab.
- Click Protect Workbook.
- Check Structure (prevents sheet changes).
- Optionally enter a password.
- Click OK.
4. Unprotect a Sheet or Workbook
Remove protection to allow full editing again.
Sheet:
- Go to the Review tab.
- Click Unprotect Sheet.
- Enter the password if one was set.
Workbook:
- Go to the Review tab.
- Click Protect Workbook (toggle — it will unprotect if currently protected).
- Enter the password if one was set.
Troubleshooting
DANGER
Sheet protection is not a security feature — it prevents accidental edits but can be bypassed by determined users. Do not rely on it to protect sensitive or confidential data.
| Symptom / Error | Potential Cause | Solution |
|---|---|---|
| Cannot type in a cell; error says "protected" | The sheet is protected | Ask the sheet owner to unprotect it, or check if you should be editing an unlocked cell instead. |
| Forgot the sheet protection password | Password was set and lost | There is no built-in recovery. Contact the person who set the password. |
| Cannot add or delete sheets | Workbook structure is protected | Go to Review > Protect Workbook and enter the password to unprotect. |