Removing protection from a locked Excel sheet is straightforward and allows you to edit, share, or analyze the data freely—no passwords required. You’ll need an unprotected copy of Microsoft Excel (365, 2019, or 2016) and the protected sheet open in the current workbook. If you’re stuck, the method works even if the sheet is hidden or embedded in another document.
What You'll Need
- Microsoft Excel installed on your device (Windows or macOS).
- The workbook containing the protected sheet (open in Excel).
- If the sheet is password-protected, note the password—you’ll need it to confirm removal.
- A USB drive or cloud backup (optional) to save the unprotected copy.
- For Windows 10/11: Run Excel as Administrator (recommended for some system-level protections).
Step-by-Step
- Open your Excel workbook. Right-click the protected sheet tab at the bottom and select Unprotect Sheet. If this option doesn’t appear, the sheet may be hidden. Select the sheet tab, then go to View > Sheet Tab to show it, then try again.
- Type the password (if prompted) and press Enter. Excel will remove the protection immediately. A confirmation message appears.
-
If the sheet remains locked, you may need to reset the protection by:
- Press Alt + F11 to open the VBA editor.
- In the Project Explorer, right-click the workbook name and choose Unprotect Workbook.
- Type the password (if any) and confirm.
- Save the workbook as a new file (File > Save As). Choose a location and name, then click Save. The unprotected sheet is now available in this copy.
-
If the sheet is still locked (e.g., due to a system lockdown or antivirus blocking changes), try:
- Restart Excel and the computer.
- Update Excel to the latest version.
- Rename the workbook’s protection settings file (`.xlsm` or `.xlsx` files may have hidden protection metadata).
- Use a third-party tool like Excel Unprotect (from trustworthy sources only) or manually delete the protection code via VBA.
Common Mistakes
- Forgetting the password: If you don’t remember the sheet’s password (but know it exists), you’ll need to use VBA to bypass it. Proceed with caution—this may reveal hidden data or macros.
- Saving in the wrong format: Saving as a `.csv` or `.txt` file removes formatting and sheet protection, but you lose macros and formatting. Always save as `.xlsx` or `.xlsm` for full compatibility.
- Antivirus interference: Some security software locks protected sheets to prevent tampering. Temporarily disable the antivirus (or add the Excel file to the exclusion list) before proceeding.
- Using the wrong version of Excel: Older versions (pre-2016) lack the VBA editor. If you get a "VBA editor not available" error, upgrade Excel or use the first 4 steps above.
Tips
- Backup first: Always save a copy before removing protection, especially if the sheet contains sensitive or critical data.
- Sheet vs. workbook protection: Use Unprotect Sheet for sheet-level passwords (e.g., restricting edits to one cell). Global workbook protection requires VBA.
- Macros in locked sheets: If the sheet has macros, removing protection doesn’t disable them—you must edit the `.bas` files separately or run the macros manually.
- Hidden sheets: If the sheet is hidden (not just locked), unhide it first by right-clicking the tab and selecting Unhide.
- Remote Excel: If using a cloud service like OneDrive or Google Sheets, protection is handled differently. For Google Sheets, sign in, go to File > Share > Restrict sharing to remove permissions.
Troubleshooting
If Excel refuses to unprotect the sheet after all steps, try these advanced fixes:
- Check for macro viruses: Open the workbook in Safe Mode (Windows): Right-click the Excel shortcut > Properties > Compatibility tab > Run in Safe Mode. If it works, the sheet contains a macro that’s causing the block.
-
Reset protection via VBA: Insert a new module (Alt + F11 > Insert > Module) and paste this code:
Sub RemoveSheetProtection() Dim ws As Worksheet For Each ws In ActiveWorkbook.Worksheets If InStr(1, ws.Name, "$") > 0 Then ws.Unprotect "" Next ws End SubRun the macro (F5). This removes protection from all sheets with dollar signs in their names (a common protection marker). -
Delete the protection file: For `.xlsm` files, the protection may be stored in a hidden XML file. Rename the file to `.zip`, extract it, find the `xl/workbook.xml` file, and manually delete the `
` tag. Re-zip and rename back to `.xlsm`. -
Use Excel’s built-in repair: If the file is corrupted, try:
- Save the file as a new `.xlsx` (without macros).
- Open the new file in Excel and manually copy the protected sheet to a new workbook.
- Contact support: If all else fails, the file may have been intentionally locked by the creator. Request a new copy from them or use an alternative tool like Stellar Phoenix Excel Repair (for severely corrupted files).
Frequently Asked Questions
Can I remove protection from a sheet that’s password-protected?
Yes, but only if you know the password. If you don’t, you’ll need to use VBA to bypass it or manually edit the workbook’s XML files (advanced). For hidden passwords, the sheet may require a different method, such as deleting the protection code via VBA.
Will removing protection affect my data?
No, but editing the protection settings may temporarily lock you out if you don’t know the password. Always save a backup before proceeding.
My Excel won’t let me unprotect the sheet—what now?
Try restarting Excel, disabling antivirus software, or using VBA to reset the protection. If the sheet is hidden, unhide it first. For global workbook protection, use the VBA method described in Step 3.
Does removing sheet protection change my macros?
No, macros remain intact unless you edit them directly. If the sheet had a password-protected macro, you’ll still need to run or edit those macros separately.
How do I protect a sheet again later?
Go to Review > Protect Sheet. Type a password (optional) and confirm. For global workbook protection, go to Review > Protect Structure or Protect Window.
Can I remove protection from an Excel file shared via Google Drive?
Yes, but permissions must be adjusted. Sign in to Google Drive, open the file, click Share, then remove the password or restrict access to allow editing. For locked sheets, you’ll need to edit the file locally first.
The methods above cover most scenarios, but if the issue persists, the file may have been corrupted or intentionally locked by its creator. Test with a backup file to isolate the problem.