Dear @William McAlpine,
Thank you for posting your question in the Microsoft Q&A forum.
I understand how frustrating it can be to lose access to an important Excel workbook. Unfortunately, Microsoft does not provide a way to recover or bypass a forgotten password for a fully encrypted Excel file, as this is designed to protect your data.
In the meantime, here are some steps I recommend you try:
Step 1: Check for backups or previous versions
If the file is stored on OneDrive or SharePoint, you may be able to restore an earlier version that wasn’t password-protected.
In Excel, go to File > Info > Manage Workbook > Recover Unsaved Workbooks to see if older versions are available. For reference: Recover an earlier version of an Office file
Step 2: Verify password variations
Double-check Caps Lock and keyboard layout. Then, try common variations of your passwords or check your password manager/browser-saved passwords.
Step 3: If it’s sheet or workbook structure protection (not full file encryption)
You can remove protection using VBA. Therefore, I recommend creating a new question on the https://stackoverflow.com/ where many experienced developers share advanced techniques and scripts for Excel password recovery. Be sure to include details like your Excel version and whether the protection is for the entire file or just the sheet. You can post VBA programming questions to Stack Overflow by using the vba tag, along with any other relevant tags: https://stackoverflow.com/questions/tagged/vba
Please note that Stack Overflow has guidelines such as requiring a descriptive title, a complete and concise problem statement, and sufficient details to reproduce your issue. Feature requests or overly broad questions are considered off topic.
Disclaimer: Microsoft provides no assurances and/or warranties, implied or otherwise, and is not responsible for the information you receive from the third-party linked sites or any support related to technology.
Note: Please understand that as forum moderators, our primary goal is to provide helpful guidance and support through general troubleshooting steps. While we don’t have access to internal systems or administrative tools required to resolve account-specific or backend issues, we truly appreciate your understanding of these limitations. We genuinely hope the information we share helps guide you in the right direction, and we're always here to assist as much as we can within our scope.
I hope this information is helpful. Please follow these steps and let me know if it works for you. If not, we can work together to resolve this. If I misunderstand anything, please feel free to reach out.
Please understand that our initial response does not always resolve the issue immediately. However, with your help and more detailed information, we can work together to find a solution.
Thank you for your patience and your understanding. If you have any questions, please feel free to reach out.
I'm looking forward for your reply.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.