You will lock a whole Excel workbook so nobody can open it without the password. This suits anyone sharing a file with sensitive numbers over email or a shared drive. You need the workbook open in desktop Excel, and a password you can store safely.
YouTube video: How to Protect Excel Sheet with Password | Lock Excel Sheet
Caption availability is unknown. Check the CC control in the YouTube player.
- Video length
- 4 min 13 s
- Time to do it
- 5 minutes
- Difficulty
- Easy
- Steps
- 9
What you need
Steps
Open the workbook you want to lock in desktop Excel. Save it once so your latest edits are stored before you add a password.
Click File in the top left corner, then click Info on the left side of the screen.
Click the Protect Workbook button. A small menu drops down with several options.
Choose Encrypt with Password from that menu. The Password box opens.
Type your password in the box and click OK. Use something long and hard to guess.
Type the same password again in the Confirm Password box and click OK.
Save the file with Ctrl+S or File > Save. The lock only takes effect once the file is saved.
Close the workbook and reopen it. Excel should ask for the password before showing any content.
To block edits but still let people read the file, go to Review > Protect Sheet instead, tick the actions you allow, then click OK.
Tips and common mistakes
Excel cannot recover a forgotten password, so store it in a password manager before you save.
Encrypt with Password locks the entire workbook, not a single sheet, so every tab is covered.
If people only need to read the data, use Review > Protect Sheet so they can open it without a password.
Keep the file as.xlsx; older.xls formats handle encryption differently and can lose the lock.
Questions
Can I put a password on just one sheet?
No. Encrypt with Password protects the whole file. To stop edits on one tab only, use Review > Protect Sheet and leave the open password off.
What happens if I forget the password?
You cannot open the file again. Microsoft has no recovery option, so keep a copy of the password somewhere safe before you save.
Will the password work if I send the file to someone else?
Yes, as long as they open it in desktop Excel or another app that supports encryption. They will see a password prompt first, then the workbook.
The notes are drafted automatically from video details and general task knowledge. How the guide was prepared
Report a correction


