Forum Discussion
Forgot Excel Password
Hi
how can i recover an excel workbook where I have forgotten the password?
4 Replies
- NikolinoDEPlatinum Contributor
Here are some links that will help you better understand the password settings in Excel.
Changing a password on a password protected Excel
How do I unlock a Workbook, Worksheet, VBA Project, without a password?
Video: Protect an Excel file
Video: Restrict changes to files
- SergeiBaklanDiamond Contributor
You may try to search here what is in title of your post, lot of threads are here
Some of them are on many pages as I remember. Perhaps these two could be useful
https://techcommunity.microsoft.com/discussions/excelgeneral/remove-password-from-excel-spreadsheet/2936709
https://techcommunity.microsoft.com/discussions/excelgeneral/excel-sheet-forgotten-password/3545763
- carlwi3aCopper Contributor
If you are able to download the Excel file, you can remove the password.
- Download a copy of the Excel file.
- Rename your .xlsx (or .xlsm) file to .zip.
- Extract/unzip it.
- Go to the xl/worksheets/ folder.
- Open the relevant sheetN.xml file in a text editor (Notepad++, VS Code, etc.).
- Search for sheetProtection.
- Delete the whole tag (it looks something like <sheetProtection algorithmName="..." password="..." ... /> or with hashValue/saltValue).
If the password protects the workbook structure (not an individual sheet), then the file is xl/workbook.xml and you delete the entire tag using the exact same process.
- Save the file.
- Zip the entire folder, not the contents.
- Rename the .zip back to .xlsx.
- Open in Excel and enjoy.
Seems there is no way to recover, you may consider some 3rd party tools for help