How to Break Excel File Password

Excel files are very important files that stores valuable data. These files are of utmost importance in any firm. And hence all the companies as well as users tend to protect the file with a password. But, sometimes users forget this password that can be used to unlock the file. This leads them in searching the Internet for how to break Excel password. If you are one of the above mentioned users that are looking to open a password-protected Excel file, then your hunt is over.

Part 1. Why You Want to Break Excel Password?

Why people want to break Excel password? As mentioned earlier, Excel files are of importance to companies and users. They have valuable data stored in them and hence they are protected with password. Users tend to forget the password. This can be due to weak memory, jumbling between multiple passwords, misplacement of passwords, and many more such similar reasons. And this is why users tend to break Excel workbook password so as to get the valuable information stored in the file.

Part 2. How to Break Excel File Password?

Let us have a look at the possible solutions that will let you know how to break or crack Excel workbook password.

Solution 1: Use ZIP to Break Excel Password

Employment of this solution will need you to edit the xml file of the zip. Puzzled? You must be wondering as to where did the xml and zip file came into picture. Well, you need to follow the steps given below and know how to break password on Excel.

Step 1: Before we begin, you need to create a backup of the original file. This will be helpful if anything goes wrong. Now, all you need to do is change the extension of the file to .zip.

how to break excel password

Step 2: Now, extract the contents of the zip file. In the extracted content, you will need to search the xml format of the file. This will be found in "worksheets" directory.

how to break excel password 1

Step 3: Once you find the xml file, open it in the xml editor. In the xml file, search for the "sheetProtection" term and remove it from the file. Once removed, save the file.

how to break excel password 2

Step 4: Change back the extension of the file as it was in the first place. When you try to open the file, no password will be needed.

Solution 2: Use VBA Code to Break Excel Worksheet Password

If you think that the above method does not work as per your needs, then there is one more way that can help you know how to break MS Excel password. This solution is used to open worksheets that are password protected in an Excel file. Follow the below steps to unprotect Excel workbook password.

Step 1: Begin with opening the Excel file. Now open the worksheet that you need to unlock. All you need to do is press Alt + F11. This will land you in the macro editor.

Step 2: Double click on the sheet from the menu in the left that you need to break. This will open the General section page for the sheet. Now type in the following code in the General Declaration page:

Sub PasswordBreaker()
'Breaks worksheet password protection.
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

break excel workbook password

Step 3: Press F5 and run the macro and your job here is done.

Your Excel worksheet will be opened without a password. This solution is applicable to all types of Excel versions.

Solution 3: Use PassFab for Excel to Break Excel Workbook Password

When you feel that the above two methods are very confusing than you can always look up to PassFab for Excel. This tool is used to break open passwords for any version of Excel file. It is easy to use and follow. Moreover, it does not need much time to break a file.

In addition to this, the solution can be used to know how to break password of Excel sheet for all types of Excel version such as Excel 2003, Excel 2007, Excel 2010, Excel 2013, Excel 2016, Excel 2019 and more.

Follow the below steps to break password for Excel workbook.

Step 1: Run the tool and choose "Recover Excel Open Password" feature.

how to break password on excel 1

Step 2: Click on "+" on the interface. Choose the Excel file you wish to break.

how to break password on excel 2

Step 3: Next choose the type of attack you wish to perform on the file. The tool provides Brute-force with Mask, Brute-force, and Dictionary Attack. Adjust the parameters as per the type of attack that you have chosen.

how to break password on excel 3

Step 4: Now click on "Recover" button. The tool will find the password for your Excel file.

how to break password on excel 4

Need more detailed user gudie? Here is a video tutorial you may be interested in:

Summary

Long story short, you just had a look on the top 3 methods that will help you know how to crack Excel workbook password protection. You can use zip method, VBA code, or an Excel password recovery tool to break the file. Let us know whether this article was helpful to you or not. Do let us receive your feedback on this article and tell us about any other alternate solution by commenting below.

Updated on / Posted by Shirley Howard to Excel Tips / Follow @Shirley Howard

(Click to rate this post)

(0 votes, average: 5.0 out of 5 )

Comment

Product-related questions? Speak directly to our Support Team >>