Unlocking a password-protected Excel workbook is easy with the right steps. Simply type the password in the prompt or use built-in tools to remove protection—no third-party software needed. If the file is locked by a macro or digital rights management (DRM), standard methods fail; in that case, contact the file owner for access. Always back up your original file before attempting any unlocking steps.

What You'll Need

  • A copy of the original Excel file (to avoid accidental data loss during unlocking).
  • Excel installed on your computer (Microsoft 365, Excel 2019, or later).
  • Standard keyboard shortcuts or file explorer access (if unlocking via the file properties dialog).

Step-by-Step

  1. If the workbook is password-protected for editing: Open the file in Excel. When prompted for the password, type it exactly as displayed. Press Enter to grant access. If the password was mistyped: Excel will show an error. Correct the input and retry.
  2. If the workbook is locked by a macro or structure protection:
    1. Go to the File tab and click Info. Under the Trust Center menu, select Trust Center Settings.
    2. Click Protection and uncheck Protect Structure and Protect Worksheets. Click OK to apply.
    Restart Excel to confirm the lock is removed.
  3. If the workbook is protected via a digital rights management (DRM) lock: This method relies on the file being stored in a compatible version of Excel (Excel 2013 or later). Follow these steps:
    1. Open Excel and navigate to the File tab.
    2. Click Open, select the locked file, and choose Open and Repair. If prompted, click Yes to proceed.
    3. Excel will attempt to remove the DRM lock. If successful, the file will open without restrictions.
    If DRM persists: DRM locks are often tied to cloud services or file-sharing platforms. Contact the platform or the file owner to request access.

Common Mistakes

  • Skipping a backup by editing the original file before attempting to unlock it. Always save a copy first.
  • Misinterpreting password prompts—Excel displays the correct format, so retype carefully. Common errors include extra spaces or special characters.
  • Applying protection settings without realizing the file was macro-enabled. Test macro permissions before proceeding.
  • Assuming DRM locks can be bypassed via third-party tools. These often void legal protections or harm system stability.

Tips

  • For large files, check File > Info > Properties > Advanced Properties to confirm the file is not encrypted or compressed, which could interfere with unlocking.
  • If Excel crashes during unlocking, restart the program and retry. Corrupted files may require a fresh copy.
  • Use the Ctrl + S shortcut to save changes frequently, especially if working with multiple protected files.
  • On Windows, right-click the file in File Explorer, then select Properties > Security. If you’re the file owner, ensure your account has full control permissions.
  • If the file is part of a larger Excel project (like a template), unlock the main file first, then open sub-files to remove individual protections.

Troubleshooting

  1. Excel shows "Password Required" but you have no clue what it is: Try these shortcuts:
    • Press F12 to open the file directly without password prompts (if the file is not encrypted).
    • In File Explorer, right-click the file and select Rename. Remove the password extension (e.g., `.xlsx.lock`) temporarily.
    If these fail, the file is a template (`.xltx`) or protected by cloud restrictions.
  2. Unlocking fails with an error code (e.g., #NAME?): This often means the workbook is part of a complex template. Try these fixes:
    • Close and reopen Excel. Restart your computer if needed.
    • Enable macros by going to File > Options > Trust Center > Trust Center Settings > Macro Settings, then select Enable all macros. Save the file as a new version to bypass restrictions.
    • If the file is corrupted, open it in a compatibility mode: File > Open > Choose File > Click the Down arrow next to "Open" > Select Open and Repair.
  3. DRM still prevents access after "Open and Repair": In this case, the file is protected by a third-party license (e.g., Adobe Digital Editions). Contact the vendor or the file creator for a workaround or reset.
  4. Excel won’t open at all: Disable antivirus software temporarily (some detect Excel as a threat). Run Excel in Safe Mode by holding Shift while clicking File > Open.

Frequently Asked Questions

How do I unlock a protected Excel file without the password?

There is no legitimate method to unlock a file without the password unless you have administrative access to the file’s owner account. Third-party tools may claim to remove passwords but can corrupt files. Always back up the original file and ask the owner for assistance.

Can I remove protection if the file is encrypted?

Encrypted files (e.g., `.xlsx.accdb` or `.xlsm` with VBA encryption) cannot be unlocked without the original password or third-party tools. Decryption methods vary by encryption type; consult Microsoft’s support for guidance.

What if Excel won’t open the file at all?

If Excel refuses to open the file, try these steps: 1. Open File Explorer, right-click the file, and select Properties > Details. Check for warnings like "Corrupt file" or "Microsoft Office file format." 2. Move the file to a different folder (sometimes permissions conflict). 3. Use the Open and Repair option (File > Open > Choose File > Open and Repair). If the file remains inaccessible, it may be corrupted beyond repair.

Why does my workbook keep asking for a password even after I unlock it?

This usually happens if: - The file was saved as a template (`.xltx`) instead of a workbook (`.xlsx`). - Structure or worksheet protection remains enabled (check under Review > Protect). - The file contains macros that trigger protection when opened. Run File > Info > Protect Workbook > Unprotect Workbook to reset settings.

Will unlocking a file delete all data?

No, unlocking a file removes password or protection layers but does not delete data. However, if the file is corrupted during unlocking, actions like "Open and Repair" may recover some, but not all, data.

Can I unlock a shared Excel file without the owner’s permission?

No. Shared files (e.g., saved in OneDrive or Office 365) often use cloud-based encryption. Attempting to unlock them without permission may trigger legal or technical restrictions.