Locked lesson.
About this lesson
Learn about the setup and weaknesses of Excel’s security systems.
Exercise files
Download this lesson’s related exercise files.
Security Considerations.xlsx18.9 KB Security Considerations - Completed.xlsx
19.1 KB
Quick reference
Topic
Security considerations.
Description
Setup and weaknesses of Excel’s security model.
Where/when to use the technique
Once you’ve built a file you’re proud of, you’ll want to protect its integrity. Unfortunately, the protection in Excel is best used to protect from accidental damage only, as it’s not all that strong.
Instructions
Triggering protection
- Go to the Review tab --> Protect Sheet --> Click OK (No password)
- Try to edit any cell and you’ll be told you can’t
- Go to the Review tab --> Unprotect Sheet (No password was set, so it will)
Allowing editing
- Select B7:B10, right click and choose Format Cells
- On the Protection tab, uncheck “Locked” and click OK
- Go to the Review tab --> Protect Sheet --> Click OK (No password)
- You can edit any cell in B7:B10, but no others
- Unprotect the worksheet
Hiding formulas
- Select B11, right click it, choose Format Cells --> Protection
- Check the Hidden checkbox and click OK
- Go to the Review tab --> Protect Sheet --> Click OK (No password)
- Select B11 and look in the formula bar… no formula!
- Change B8 to 25000 and notice the formula still works
Using Passwords
- Unprotect the sheet, then re-protect it entering 1234 as the password
- Confirm the password and verify that the protection works
- Unprotect the worksheet and enter the password required to unlock it
Key Takeaways
- By default, every cell on an Excel worksheet is “locked” when you apply protection
- You need to unlock cells you want the user to edit before you protect a worksheet
- Excel’s password security is very weak, and can easily be hacked
- Excel’s password security is best used to protect from accidental damage, not willful damage
Lesson notes are only available for subscribers.