π₯ AITrendytools: The Fastest-Growing AI Platform |
Write for us
To password protect an Excel file, open your workbook and click File > Info > Protect Workbook > Encrypt with Password. Type a password, confirm it, and save. On Mac, go to File > Passwords instead. Modern Excel then encrypts the file with AES-256, so nobody can open it without your password.
Let me guess. You've got a spreadsheet full of salaries, client details, or bank numbers, and it's just sitting there. Unprotected. Yikes.
I've seen this go wrong, and it's not fun. The good news? You can fix it in under a minute. Below, I'll show you exactly what to click, which method fits your situation, and what to avoid. Let's dive in.
Spreadsheets get emailed, shared, and copied to USB sticks constantly. One wrong click and your private data lands in the wrong inbox. That's a headache you can avoid.
A password protected Excel file puts a real barrier between your data and curious eyes. It takes seconds. It costs nothing extra if you already own Excel.
If you handle client or company data, it also pays to understand data loss prevention software, which helps secure business data, support compliance, and catch insider threats.
One caution, though. Microsoft warns that a password doesn't automatically stop someone with bad intentions. So think of it as a strong lock, not a magic shield.
Before you click anything, you need to know that Excel has three kinds of protection, not one. Mixing them up is the most common mistake I see.
Think of a house. You've got the front door, the rooms inside, and the cabinets. Each needs a different key. Microsoft explains the differences clearly, and here's my quick summary:
Protection typeWhat it doesEncrypts the file?Best forFile encryption (password to open)Blocks anyone from opening the fileYes (AES)Sensitive data, sharing filesWorkbook structure protectionStops adding, deleting, renaming, or unhiding sheetsNoFinished reportsWorksheet protectionLocks cells, formulas, and formattingNoPreventing accidental editsPassword to modifyAllows reading, but saving changes needs a passwordNoView only sharing
Here's the catch. Microsoft states that worksheet level protection isn't intended as a security feature. Use it to prevent accidents, not to guard secrets.
This takes about 30 seconds. Open your workbook first, then follow these steps, exactly as Microsoft lays them out:
Done. Next time you open it, Excel asks for the password.
Make it long. A random phrase of several words beats a short, clever one. Passwords are also case sensitive, so capitals matter.
Write it in a password manager before you hit Save. That one habit will save you later.
Mac users, the menu looks different, and that confuses plenty of people. In one Microsoft Q&A thread, a user couldn't find "Info" because it doesn't exist in that version.
Go to File > Passwords instead. Enter a password to open, and optionally a password to modify. Click OK, reenter each one, and save.
Here's a surprise. Excel for the web can't encrypt a workbook. You can set read only mode, but that's it.
Want real encryption? Select Editing > Open in Desktop App, then follow the Windows steps.
PlatformWhere to find itEncryption available?WindowsFile > Info > Protect WorkbookYesMacFile > PasswordsYesExcel for the webNot available (open in desktop app)No
Excel gives you two different passwords, and they do very different jobs.
A password to open locks the whole file. Without it, nobody gets in.
A password to modify is softer. People can still open and read the file, but they need the password to save changes. It doesn't encrypt anything.
If you like numbers, here they are. According to Elcomsoft's security research, a password to open on a modern Microsoft 365 file uses AES with a 256 bit key, a key derived through 100,000 iterations of SHA-512, and a 16 byte salt.
Older formats were far weaker. The same research notes that early Office encryption used XOR, which is obfuscation rather than real encryption. It also found that Microsoft later moved to AES-128 with 50,000 SHA-1 iterations.
Modify passwords and sheet protection don't get that treatment. According to the same source, they don't touch encryption at all, so password length is irrelevant for them.
My advice? Use the open password for anything sensitive. Add the modify password only when you want others to view but not edit.
Sometimes you don't need to lock the file. You just want to stop people from messing up your layout or formulas.
To protect the workbook structure, click Review > Protect Workbook. That blocks inserting, deleting, renaming, moving, and hiding sheets.
To protect cells, first lock the cells you want safe, then use Review > Protect Sheet. You can also unlock specific ranges for people to edit.
Changed your mind? Removing it is easy, as long as you know the current password.
Michigan's IT team describes the process this way: open the file, go to File > Info > Protect Workbook > Encrypt with Password, clear the password box, click OK, and save.
Take a deep breath, because this is the scary part. If you lose it, Microsoft can't retrieve it for you.
A Microsoft Q&A answer confirms there's no built in recovery for a fully encrypted file. Your best hope is an unprotected backup, or a previous version on OneDrive or SharePoint.
So, here's what I do. I keep every password in a secure vault, like the encrypted password management covered in this BUNKR digital security guide. I also never email the password with the file. Brown University's IT team gives the same advice: share it through a different channel.
Let me be straight with you. Real file encryption lives in the desktop app. The web version can't do it.
That's why I recommend Microsoft 365. You get desktop Excel with encryption, workbook protection, and sheet protection in one place.
Think about what's at stake. One leaked spreadsheet can cost you clients, money, or your reputation. Compare that to a subscription fee. It's a no brainer.
Plus, cloud storage with version history can rescue you if a password ever goes missing. That's peace of mind you can't put a price on.
Go to File > Info > Protect Workbook > Encrypt with Password, enter a password, confirm it, and save. On Mac, use File > Passwords.
Yes, but only the password to open. Modern files use AES-256. Sheet protection and modify passwords don't encrypt the file.
No. Microsoft says it can't retrieve lost passwords. Check for backups or earlier versions on OneDrive or SharePoint.
Not directly. Open the file in the desktop app, then encrypt it there.
Sheet protection controls what people can change inside one worksheet. Workbook protection controls the structure, like adding, deleting, or renaming sheets.
It's strong, but not unbreakable. A long, random password to open makes the file very hard to attack, while weak passwords and sheet level protection offer much less security.
You now know how to password protect an Excel file on Windows, Mac, and the web. You also know which protection level does what.
So don't wait. Open that sensitive spreadsheet, click Encrypt with Password, and save it. It takes less time than making coffee.
And if you don't have the desktop app yet, get Microsoft 365 and protect your data properly.
Get your AI tool featured on our complete directory at AITrendytools and reach thousands of potential users. Select the plan that best fits your needs.





Join 30,000+ Co-Founders
Learn how to clear app cache on iPhone in minutes. Offload apps, clear Safari data, and free up storage without losing your data. Updated for iOS 26.
Need a pay stub fast? Learn how a free pay stub generator creates a PDF in minutes, what to include, 2026 tax rates, and state rules.
Use a YouTube channel name generator the right way. Follow 5 easy steps, check your @handle, avoid common mistakes, and pick a name that sticks today.
List your AI tool on AItrendytools and reach a growing audience of AI users and founders. Boost visibility and showcase your innovation in a curated directory of 30,000+ AI apps.





Join 30,000+ Co-Founders