To unlock a sheet in an Excel workbook, right-click the sheet's tab and click Unprotect sheet. Enter the password, if prompted.
If you don't know the password, upload the sheet to your Google Drive, open it in Google Sheets, then re-download it to your computer.
Did this summary help you?YesNo
Thanks to all authors for creating a page that has been read 513,589 times.
This article explains how to unprotect Excel workbooks. The information applies to Excel workbooks in Microsoft Excel 365, Microsoft Excel 2019, 2016, and 2013.
How to Unlock an Excel Workbook as the Owner
Microsoft Excel is packed with features. One such feature is the ability to protect your Excel files at the cell, spreadsheet, or workbook level. Sometimes it's necessary to unprotect Excel workbooks to ensure data changes apply correctly.
This method assumes that as the owner of the file, you remember the password used to protect the spreadsheet.
Open the protected spreadsheet, and select Review > Unprotect Sheet. You could also right-click the protected spreadsheet, then select Unprotect Sheet.
You can identify a protected spreadsheet under the Changes section of the Review tab on the ribbon. If the spreadsheet is protected, you see the Unprotect Sheet option.
Enter the password used to protect the spreadsheet, then select OK.
Your spreadsheet will now be unprotected and it can be modified.
How to Unprotect an Excel Workbook Without Knowing the Password
You may have protected your Excel workbook or spreadsheet and haven't had to modify it in some time, even years. Now that you need to make changes, you no longer remember the password you used to protect this spreadsheet.
Fortunately, these steps will allow you to unprotect your workbook using a Virtual Basic script as a macro to identify the password.
Open the protected spreadsheet.
Access the Visual Basic code editor by either pressing ALT+F11 or select Developer > View Code.
In the Code window of the protected sheet, enter the following code:
Sub PasswordBreaker()
Dim i As Integer, j As Integer, k As Integer
Dim l As Integer, m As Integer, n As Integer
Dim i1 As Integer, i2 As Integer, i3 As Integer
Dim i4 As Integer, i5 As Integer, i6 As Integer
On Error Resume Next
For i = 65 To 66: For j = 65 To 66: For k = 65 To 66
For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66
For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66
For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126
ActiveSheet.Unprotect Chr(i) & Chr(j) & Chr(k) & _
Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _
Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
If ActiveSheet.ProtectContents = False Then
MsgBox "One usable password is " & Chr(i) & Chr(j) & _
Chr(k) & Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & _
Chr(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
Exit Sub
End If
Next: Next: Next: Next: Next: Next
Next: Next: Next: Next: Next: Next
End Sub
Select Run or press F5 to execute the code.
The code will take several minutes to run. Once finished, you'll receive a pop-up with a password. Select OK and your spreadsheet will be unprotected.
This is not the original password and you don't need to remember it.
FAQ
How do I protect workbooks in Excel?
To password-protect Excel workbooks, open the workbook and select File > Info > Protect Password > Protect Workbook > Encrypt with Password.
How do I protect cells in Excel?
To lock cells in Excel to protect data, highlight the cells, go to the Home tab, and select Format > Lock Cell.
How do I remove workbook protection in Excel without password?
Just do any of the following:.Right-click the sheet tab, and select Unprotect Sheet… from the context menu..On the Review tab, in the Changes group, click Unprotect Sheet..On the Home tab, in the Cells group, click Format, and select Unprotect Sheet from the drop-down menu..How do I unlock a protected Excel workbook?
On the Review tab, click Unprotect Sheet (in the Changes group). Click the Protect Sheet button to Unprotect Sheet when a worksheet is protected. If prompted, enter the password to unprotect the worksheet.How do I remove protection from an Excel spreadsheet?
Unprotect an Excel worksheet Go to the worksheet you want to unprotect. Go to File > Info > Protect > Unprotect Sheet, or from the Review tab > Changes > Unprotect Sheet.How do I get rid of permission to restricted workbook?
Remove restrictions On the Review tab, under Protection, select Permissions, and then select No Restrictions. In the dialog box, select Remove Restrictions.