Topic 11
Protection in Excel
Excel has three distinct layers of protection — each guarding something different. Understanding which layer does what is essential before applying any of them, because they are commonly confused with each other.
Three Layers — Three Different Jobs
Each layer protects something different. They can be used independently or combined.
When you set a password to open, Excel encrypts the entire file using AES-256. The file cannot be opened — or even previewed — without entering the correct password first.
How to set it
Alternative path through Save As:
How to remove it
Same path — open the dialog, clear the password field, and save.
Protect Sheet prevents changes to cell content and formatting. But there is a critical concept to understand first: all cells are "locked" by default — but this locked flag only takes effect when you turn on sheet protection. To allow editing in specific cells, you must unlock them first.
The counterintuitive part — unlock what you want editable
Workflow
What the dialog controls
The checkboxes in the Protect Sheet dialog define what users are allowed to do even while protection is on.
| Action | Default | Notes |
|---|---|---|
| Select locked cells | ✓ Allowed | Users can click on them but not edit |
| Select unlocked cells | ✓ Allowed | Users can click and edit these |
| Format cells | ✗ Blocked | Can be enabled if needed |
| Insert/Delete rows | ✗ Blocked | Enable only if required |
| Sort / Filter | ✗ Blocked | Enable for data-entry sheets |
Protect Workbook prevents changes to the structure of the workbook — not the content of cells. Users can still read and edit cell values normally; they just cannot reorganise the sheets.
| Action blocked when Protect Workbook is on |
|---|
| ✗ Insert or delete sheets |
| ✗ Rename sheets |
| ✗ Move or copy sheets |
| ✗ Hide or unhide sheets |
| ✓ Edit cell contents — still allowed (Protect Sheet handles this) |
Protect Workbook = controls what happens to the sheets themselves (tabs).
They are independent — you can have one without the other, or both at the same time.
Side-by-Side Comparison
| Question | Password to Open | Protect Sheet | Protect Workbook |
|---|---|---|---|
| What does it protect? | File access | Cell contents | Sheet structure |
| Where to find it? | File → Info → Protect | Review tab | Review tab |
| Password required? | Yes | Optional | Optional |
| Prevents editing cells? | N/A (can't open) | Yes (locked cells) | No |
| Prevents adding sheets? | N/A (can't open) | No | Yes |
| Encryption? | Yes (AES-256) | No | No |
Typical Combined Workflow
When sharing a workbook with input cells, this is the standard approach:
Password to Open is the exception — it uses real AES-256 encryption and cannot be bypassed. Use it when the data itself must remain confidential.