Remove Password Excel Spreadsheet

admin31 March 2023Last Update :

Unlocking the Secrets of Excel: How to Remove a Password from Your Spreadsheet

Excel spreadsheets are indispensable tools in the modern professional landscape, offering a versatile platform for data analysis, record keeping, and strategic planning. However, with the power to protect sensitive information through password encryption comes the occasional challenge of removing such passwords. Whether you’ve inherited a protected file from a former colleague or simply forgotten your own password, the need to unlock an Excel spreadsheet is a common yet critical task.

Understanding Excel’s Password Protection Features

Before diving into the methods of password removal, it’s essential to understand the types of password protection that Excel offers. There are primarily two types:

  • Workbook Protection: This restricts users from adding, moving, deleting, hiding, or renaming worksheets within the workbook.
  • Worksheet Protection: This limits the ability to modify the content of the worksheet, including editing cells, formatting, and sorting data.

Both protection types can be applied with or without a password. However, when a password is set, Excel encrypts the file with that password, making it inaccessible without the correct passphrase.

Method 1: Using the ‘Unprotect Sheet’ or ‘Unprotect Workbook’ Feature

If you know the password to the protected Excel file, removing it is straightforward:

  1. Open the Excel spreadsheet.
  2. Go to the Review tab on the ribbon.
  3. If it’s a worksheet protection, click on Unprotect Sheet. For workbook protection, click on Unprotect Workbook.
  4. Enter the password and press OK.

The protection will be removed, and you can now edit the spreadsheet freely.

Method 2: Password Recovery Tools

When the password is unknown, third-party password recovery tools can come to the rescue. These tools use various algorithms to crack or bypass Excel passwords. Some popular options include:

  • Passper for Excel
  • Excel Password Recovery Lastic
  • Stellar Phoenix Excel Password Recovery

It’s important to note that while these tools can be effective, they may not guarantee success, especially with strong passwords. Additionally, the use of such tools should be done ethically and legally, ensuring you have the right to access the content of the Excel file.

Method 3: VBA Code for Password Removal

For the more technically inclined, Visual Basic for Applications (VBA) provides a method to unlock a password-protected sheet. The following is an example of a VBA code that can remove the password:

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 "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

This macro attempts to crack the worksheet protection by trying different combinations. However, this approach may not work for all versions of Excel, and it can take a considerable amount of time for complex passwords.

Method 4: Creating a New Unprotected Spreadsheet

If the above methods fail, you can create a new, unprotected version of the spreadsheet:

  1. Open the protected Excel file.
  2. Select all the data you need (you can press Ctrl + A to select everything).
  3. Copy the selected data (use Ctrl + C).
  4. Open a new Excel workbook.
  5. Paste the data into the new workbook (use Ctrl + V).
  6. Save the new workbook without a password.

This method will not carry over any protected features or macros from the original file, but it will allow you to access and edit the data.

Method 5: Zip Software Technique

Another unconventional method involves using zip software to access the Excel file’s internal components:

  1. Rename the Excel file from .xlsx to .zip.
  2. Open the zip file with compression software like WinRAR or 7-Zip.
  3. Navigate to the xl folder and then to the worksheets or workbook folder, depending on what you want to unprotect.
  4. Delete the sheetProtection or workbookProtection tag from the XML file.
  5. Save the changes and update the zip file.
  6. Rename the zip file back to .xlsx.

This method requires some technical knowledge and should be done carefully to avoid corrupting the file.

It’s crucial to address the legal and ethical implications of removing a password from an Excel spreadsheet. Always ensure that you have the legal right to access and modify the file. Unauthorized access to password-protected files can lead to serious legal consequences and breach of privacy.

FAQ Section

It is legal to remove a password from an Excel spreadsheet if you have the right to access the content of the file. Unauthorized access or password removal without permission is illegal and unethical.

Can I remove a password from an Excel file without the password?

Yes, there are methods to remove a password without knowing it, such as using third-party password recovery tools or VBA scripts. However, these methods may not always be successful, especially with strong passwords.

Will these methods work for all versions of Excel?

Some methods may not work for all versions of Excel. For example, VBA scripts designed to crack passwords in older versions may not work in the latest versions due to enhanced security features.

Can I remove a password from an Excel file on a Mac?

Yes, you can remove a password from an Excel file on a Mac using similar methods as on a Windows PC. However, the availability of third-party tools and the process of using VBA might differ slightly.

What should I do if none of these methods work?

If none of the methods work, you may need to contact the person who set the password for assistance or use professional password recovery services, which may come at a cost.


Removing a password from an Excel spreadsheet can be a daunting task, but with the right tools and methods, it is achievable. Whether you opt for the straightforward approach of using the ‘Unprotect Sheet’ feature with the known password, leverage third-party tools, employ VBA scripts, create a new unprotected spreadsheet, or explore the zip software technique, it’s important to proceed with caution and ensure you’re authorized to access the file. Always remember the legal and ethical implications of password removal and respect the privacy and security of data within Excel files.

With this comprehensive guide, you’re now equipped with the knowledge to tackle password-protected Excel spreadsheets and ensure your workflow remains uninterrupted. Whether you’re a seasoned Excel user or new to the platform, these insights will help you navigate the complexities of spreadsheet security with confidence.

Leave a Comment

Your email address will not be published. Required fields are marked *

Comments Rules :

Breaking News