• LinkedIn
  • Twitter
  • Google+
.
|
TechRecs: Cool Tools & Hot Topics
|
How to Remove, Crack, or Break a Forgotten Excel XLS Password
Posted on December 3, 2019 by

It can be really frustrating when you go to use a password-protected resource and you have forgotten the password. Even online membership sites can be frustrating enough. But if it is a project in a password-protected Excel document, and you then forgot the password – it can be an unwelcome roadblock in your progress.

Fortunately, there are some things you can do to remove a password from Excel. If you want your document password-protected, you may want to re-save and protect it after you have cracked it. But for this article, we will be focusing on the cracking part.

Some Terminology
Removing the password from Excel refers to just that – making the file such that it does not have a password anymore. Breaking the password is again, like it sounds, breaking the password so you can gain access to the file. That could be a case where the password is broken on its way to removal or broken on its way to being cracked.

Yes, cracked sounds like broken but think hack. In the case of cracking a forgotten password, you are figuring out what the password is, so you can gain access to the file.

Limitations
Many software programs and the multitude of other options available will only result in a dead end or limitation of some sort. For example they will work for Excel 2007 but not for Excel 2016 or Mac. Or they will work for protection within the worksheet but not if you cannot open the file (open password).

Interestingly, software options that will work for those items (i.e. Excel 2016, open password, Mac, etc.) will also work for the older Excel programs.

So, why buy two programs or have to buy one program for the new files and clutter up your computer with a free program for the older files when you don’t need it? It makes sense to get the right program that solves your problem. And while *free* is wonderful, $9-30 is not an absolutely horrible price, not when you consider a lot of valuable (and needed) software runs $300-500.

Too keep it simple, here are some *free* options that might remove the password from Excel, saving you from having to pay or even install anything. Later we will consider some paid software solutions.

Free Methods
The following are some methods that you can try that might allow you to keep your wallet closed. No guarantees, but it is a place to start. Keep in mind two things:

If you are short on time or want an easier route, you might want to go straight to the paid solutions (software). The Excel encryption prior to 2013 was quite simplified. That means it is easier to crack a worksheet that was protected prior to 2013. Again, if you want to skip the hassle, for a newer version of the worksheet (newer version of Excel) you might want to skip the free versions and go straight for the paid.

No matter what, don’t forget to make a backup of the file. More than one backup can be wise. Crack a copy of the file so you can ensure that there is no corruption or damage to the original file. Most of these software methods and free methods do not damage the file but it is better to err on the side of caution.

Two VBA Script Methods
The idea of using a VBA script is to work around the password checking mechanism of Microsoft Excel and break the Excel password. But you do it by fooling the program before the process starts, with the core scripting language of Visual Basic.

It might seem the more geeky option but it is possibly the least involved method, so you might want to try it first.

Here is the VBA Script. As soon as you open the Excel Worksheet, access the Editor with Alt F11 (works on Mac, too), choose the file from the list and paste this script in the Declarations window.

Sub BreakPassword()

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
Exit Sub
End If

Next: Next: Next: Next: Next: Next
Next: Next: Next: Next: Next: Next

End Sub
After hitting the run button (F5) for the VBA script, give it some time and when the button becomes available again, you will know that the script has finished.

There are a couple of possibilities. For example, in the Mac version, you can simply start editing the file. Other versions, like Windows, will give you a temporary password that you can use to unlock the document and start editing. At this point, you have the option to add a new password if you like and re-save the document with that password.

There is another excellent VBA Script method that takes the Excel file and recreates a copy of it without the password(s). You can copy/paste the VBA script from this page.

John the Ripper Option
Another option to remove a password from Excel is a more core approach, utilizing the terminal. It is the John the Ripper version. This is also an effective method for general password cracking and has been used effectively for decades. Some of the other methods, like the software method(s), are probably easier and more effective, especially for the newer versions of Excel.

Also, if you have an older version of Excel (pre-2013) and you don’t mind typing, the VBA Script Method is effective. For the John the Ripper method, visit this site and scroll to the bottom for the how-to method/instructions.

XML/Zip Method (Pre-Excel 2013)
After you have made a backup of the file, you can proceed to use the XML/Zip method to crack it.

  • All you need to do is change the extension on the file from xls to zip so that Windows thinks that the file is now a zip file instead of an Excel file. This will allow access to the XML that exists (assuming the method works, which it may not).
  • Extract the now-zip file and look for the XML file. It will be in the worksheets directory.
  • Within the file, search for the term sheetProtection and when you find it, remove the tag that encloses it. A tag usually starts with < and ends with >. You want to remove the entire tag, beginning to end.
  • Save the file (still zip). After saving the file, rename the zip extension to the original extension. You should be all set and able to open and work with the file.

This method did not perform well and research says that it seems to only work for the older files.

Other (Gathering Information)
There is another password option that is recommended called Excel Password Recovery Lastic. It is an interesting option but when tested, it failed to impress, never making any headway.

That said, there is some helpful information that may be gleaned by using the program even if it doesn’t complete the process of password cracking (or removing).

  • After downloading the software, double-click on it and go through the process of installing it on your Windows machine.
  • Opening the program will bring you to a window that looks like the one shown above, after it has done a scan of your machine.

The program is useful in that it finds the Excel files that may need some help, meaning those that are password-protected. If you have an Excel spreadsheet and you know it is password protected but you are not sure to what extent, you could let Excel Password Recovery Lastic find the file (when it does its automatic scanning when you open the program) and then tell you what type of protection the file has. Every little bit of information helps. By using this software tool, you can, at least, figure out whether the Excel file is an open password or modify password or both, or some other combination.

Knowing what type of protection the file has (as well as version), can isolate what type of password cracking is needed, and this might save us time, energy, and possibly money.

This software may not have done the deed (cracked the file) but it helped to understand the file and what steps to take next.

Paid Software Methods
No matter what method you choose to use to remove the password from Excel, it is helpful to make a backup of the Excel file just in case any corruption occurs in the process. Generally, you can simply duplicate the unopened file. There are also other methods of backup and it is fine to make a couple of backups, just to be safe.

Dr.Excel ($29.95)
iSeePassword offers a software package for cracking Excel passwords. They also offer options for normal Windows passwords, so to some extent they are a one-stop-shop. Also, they are kind enough to offer a trial so that you can see if the program even works for you before you spend the money. There are enough options out there that you might want to ensure that the software you decide to use has a trial version, allowing you to evaluate before spending money.

PassFab ($19.95/yr)
Another popular software solution is PassFab. PassFab also offers a free trial and has a number of license options available, allowing you to choose the one that suits you best.

For more information on solutions for running your businesses’ technology more efficiently, visit our website or contact Megan Meisner at mmeisner@launchpadonline.com or 813 448-7100 x210.

This was originally posted by Online-tech-tips. Image credit John the Ripper

 

Posted in TechRecs: Cool Tools & Hot Topics, Small Business IT Management, IT Solutions - Stay Secure
Joan is the Office Booking Tool You Need
When Was The Internet Invented? 10 Facts You Probably Didn’t Know

Related Posts

  • What Is Patch Tuesday? Microsoft’s Monthly Update Explained

    On the second Tuesday of each month, Microsoft and other tech companies release patches for
    read more
  • 10 Ways to Save Time on Your Windows 11 PC

    Windows 11 packs many features that you can use to speed up your tasks and
    read more
  • How to Automatically Fix Column Width to Fit Your Data in Excel

    There are numerous ways to change column widths in Excel, but did you know you
    read more
  • Why I Use a Privacy Screen When Working in Public

    Privacy screens are an affordable way to protect yourself from nosy colleagues and strangers whilst
    read more
Logging In...

Profile cancel

Sign in with Twitter Sign in with Facebook
or

Not published

TO WEBSITE >>
launchpadonline.com

CATEGORIES

  • Launch Pad News
  • TechRecs: Cool Tools & Hot Topics
  • Small Business IT Management
  • Small Business Web Strategies
  • IT Solutions – Cloud | Mobile
  • IT Solutions – Stay Secure
  • ITs Easy Being Green
  • RevITup TechCare Client Forum
  • GreenBack Nonprofit Wish List
  • Launch Pad Franchise Forum
  • Launch Pad Partner News

Cloud Computing in Plain English

Copyright © 2026 | Privacy Policy
  • LinkedIn
  • Twitter
  • Google+

Archives

  • January 2025 (1)
  • December 2024 (3)
  • November 2024 (4)
  • October 2024 (2)
  • September 2024 (4)
  • August 2024 (3)
  • July 2024 (2)
  • June 2024 (1)
  • May 2024 (3)
  • April 2024 (4)
  • March 2024 (2)
  • February 2024 (3)
  • January 2024 (4)
  • December 2023 (3)
  • November 2023 (3)
  • October 2023 (3)
  • September 2023 (3)
  • August 2023 (5)
  • July 2023 (3)
  • June 2023 (5)
  • May 2023 (4)
  • April 2023 (3)
  • March 2023 (4)
  • February 2023 (3)
  • January 2023 (3)
  • December 2022 (2)
  • November 2022 (2)
  • October 2022 (2)
  • September 2022 (3)
  • August 2022 (3)
  • July 2022 (2)
  • June 2022 (3)
  • May 2022 (2)
  • April 2022 (2)
  • March 2022 (2)
  • February 2022 (3)
  • January 2022 (2)
  • December 2021 (2)
  • November 2021 (3)
  • October 2021 (3)
  • September 2021 (3)
  • August 2021 (3)
  • July 2021 (2)
  • June 2021 (4)
  • May 2021 (3)
  • April 2021 (2)
  • March 2021 (2)
  • February 2021 (3)
  • January 2021 (2)
  • December 2020 (2)
  • November 2020 (2)
  • October 2020 (4)
  • September 2020 (2)
  • August 2020 (3)
  • July 2020 (2)
  • June 2020 (3)
  • May 2020 (2)
  • April 2020 (3)
  • March 2020 (3)
  • February 2020 (3)
  • January 2020 (4)
  • December 2019 (3)
  • November 2019 (2)
  • October 2019 (4)
  • September 2019 (3)
  • August 2019 (4)
  • July 2019 (2)
  • June 2019 (3)
  • May 2019 (3)
  • April 2019 (3)
  • March 2019 (3)
  • February 2019 (3)
  • January 2019 (4)
  • December 2018 (3)
  • November 2018 (4)
  • October 2018 (3)
  • September 2018 (2)
  • August 2018 (3)
  • July 2018 (3)
  • June 2018 (3)
  • May 2018 (2)
  • April 2018 (3)
  • March 2018 (3)
  • February 2018 (3)
  • January 2018 (3)
  • December 2017 (3)
  • November 2017 (4)
  • October 2017 (3)
  • September 2017 (4)
  • August 2017 (4)
  • July 2017 (4)
  • June 2017 (3)
  • May 2017 (5)
  • April 2017 (4)
  • March 2017 (4)
  • February 2017 (5)
  • January 2017 (4)
  • December 2016 (3)
  • November 2016 (4)
  • October 2016 (4)
  • September 2016 (4)
  • August 2016 (5)
  • July 2016 (4)
  • June 2016 (5)
  • May 2016 (3)
  • April 2016 (4)
  • March 2016 (4)
  • February 2016 (3)
  • January 2016 (3)
  • December 2015 (4)
  • November 2015 (4)
  • October 2015 (3)
  • September 2015 (3)
  • August 2015 (3)
  • July 2015 (3)
  • June 2015 (5)
  • May 2015 (4)
  • April 2015 (6)
  • March 2015 (4)
  • February 2015 (2)
  • January 2015 (5)
  • December 2014 (4)
  • November 2014 (3)
  • October 2014 (8)
  • September 2014 (5)
  • August 2014 (2)
  • July 2014 (3)
  • June 2014 (6)
  • May 2014 (3)
  • April 2014 (6)
  • March 2014 (5)
  • February 2014 (3)
  • January 2014 (5)
  • December 2013 (4)
  • November 2013 (4)
  • October 2013 (6)
  • September 2013 (3)
  • August 2013 (5)
  • July 2013 (6)
  • June 2013 (4)
  • May 2013 (3)
  • April 2013 (4)
  • March 2013 (4)
  • February 2013 (3)
  • January 2013 (5)
  • December 2012 (4)
  • November 2012 (5)
  • October 2012 (5)
  • September 2012 (6)
  • August 2012 (6)
  • July 2012 (6)
  • June 2012 (3)
  • May 2012 (7)
  • April 2012 (6)
  • March 2012 (10)
  • February 2012 (6)
  • January 2012 (5)
  • December 2011 (7)
  • November 2011 (9)
  • October 2011 (4)
  • September 2011 (4)
  • August 2011 (11)
  • July 2011 (14)
  • June 2011 (4)
  • May 2011 (11)
  • April 2011 (8)
  • March 2011 (11)
  • February 2011 (11)
  • January 2011 (21)
  • December 2010 (10)
  • November 2010 (10)
  • October 2010 (8)
  • September 2010 (10)
  • August 2010 (12)
  • July 2010 (8)
  • June 2010 (9)
  • May 2010 (8)
  • April 2010 (7)
  • March 2010 (10)
  • February 2010 (8)
  • January 2010 (6)
  • December 2009 (7)
  • November 2009 (13)
  • October 2009 (11)
  • September 2009 (16)
  • August 2009 (13)
  • July 2009 (16)
  • June 2009 (18)
  • May 2009 (16)