Locked lesson.
About this lesson
Learn how to apply protection at the workbook, worksheet, and cell level to prevent unwanted changes.
Exercise files
Download this lesson’s related exercise files.
02-07-Methods-to-Minimize-Spreadsheet-Errors-Part3-Start.xlsx2.9 MB 02-07-Methods-to-Minimize-Spreadsheet-Errors-Part3-Complete.xlsx
2.9 MB 2.07 protect-a-workbook-worksheet-or-specific-cells - Exercise.docx
53.2 KB Exercise - Methods to Minimize Spreadsheet Errors - Part 3.xlsx
11.1 KB 2.07 protect-a-workbook-worksheet-or-specific-cells - Exercise solution.docx
125.9 KB Exercise Solution - Methods to Minimize Spreadsheet Errors - Part 3.xlsx
11.2 KB
Quick reference
Methods to Minimize Spreadsheet Errors: Part 3 - Protection
Lockdown workbooks, worksheets, or specific cells to protect from unwanted changes.
When to use
We protect workbooks, worksheets, or specific cells whenever we want to control how much access others have to change things in the spreadsheet.
Instructions
Protect the Workbook
We can protect the entire workbook and all of the worksheets contained within. When we protect a workbook, others will have limited to no access to the workbook without a password.
- Open the workbook to be protected.
- Click the File tab.
- Click Info.
- Click the arrow next to Protect Workbook to see the protection options.
Always Read-Only
Always Read-Only applies minimal protection. Others can still open the workbook but they will see a yellow warning message across the top that lets them know this workbook has been set to Read-Only.
This can be bypassed simply by clicking Edit on the warning message or re-saving the file. Read-Only serves as a warning to others not to edit the file without actually locking them out of the file.
Encrypt with Password
This option requires colleagues to type in a password to open and edit the file. Without the password, colleagues cannot access any part of the file.
Protect Current Sheet
Protect Current Sheet protects the current worksheet only. Colleagues will still have access to modify other worksheets in the workbook.
Protect Workbook Structure
This option protects the workbook structure ONLY. The workbook structure relates to the tabs (worksheets). For example, if we protect the structure we can still edit cells on the worksheets but we cannot delete worksheets, insert new worksheets, change the tab color, etc.
Add a Digital Signature
If we have access to the required third-party software, we can protect our workbook by adding a digital signature.
Mark as Final
Mark as Final is another protection option that doesn't stop people from editing the spreadsheet but instead lets them know that this is the final version and should not be changed.
When a workbook that has been marked as final is opened, a yellow warning message will appear at the top. Colleagues can choose to override this.
Protect Specific Cells
Sometimes we don't necessarily need to lock down the entire workbook or worksheet, just specific cells.
The thing we need to remember is that by default, every cell in Excel is locked. We ann type into cells because the locking doesn't take effect until we choose to protect the worksheet.
If we only want to make certain cell ranges editable and lock down everything else, we need to unlock those cells before applying protection.
- Select the cells/ranges that need to remain editable.
- Press CTRL+1 to open the Format Cells dialog box.
- Click on the Protection tab.
- Remove the tick from the Locked box.
Now we can protect the sheet to lock all cells except the unlocked ones.
- From the Review tab, in the Protect group, click Protect Sheet.
- Select from the list what you want to allow users to do.
- Add a password.
- Click OK.
Hints & tips
- To unprotect a worksheet, click on the Review tab and click Unprotect Sheet.
Lesson notes are only available for subscribers.