Sometimes you have to share your Excel workbook with other people. For example, you might need to send it to any other organization. But you don’t want them to change cells or data in an Excel sheet. More importantly, you never want them to delete or move important data. Therefore you want to unprotect Excel workbook. It happened to me a month ago when I shared an Excel workbook with my friend who works in another organization.
Unfortunately, some of my data were misplaced, and even some deliberate changes were made in it. Then I started searching for different methods for how to unprotect an Excel workbook? I found some best solutions, and I’ll share 3 of them with you. So, if you want to unprotect a workbook in excel, stick around with us.
Option 1: Forgot Password? Unprotect an Excel Workbook with PassFab for Excel
When we searched for safe and quick solutions for recovering Excel passwords, PassFab ranked at the top. The best thing about this software is it’s effective for both older and latest versions of Excel. So if you forget a password and want to unprotect an Excel workbook, try PassFab for Excel. Let’s find out how you can use it.
Download the PassFab for Excel and activate the password recovery program. Then click on the “Recover Excel Open Password.”
Here you need to select the Excel workbook that you want to unprotect. But before that, you’ll have to recover the password, and you can do it by clicking the (+) button and selecting the Excel workbook.
Now, select the attack type; as you can see, “Dictionary Attack” is selected in the image. Don’t forget to add the required specification.
- When you click on Recover, PassFab will find the password of your workbook.
- Once your password is recovered, you’ll see the following screen. All you need to do is to copy your password and enter Ok. It will end the program, and you’ll be able to open your Excel workbook.
When the password is recovered, you can simply unprotect an Excel workbook. If you don’t want to go this way, you can try the following options. But for us, this method worked splendidly because it’s simple, reliable, and secures data.
Option 2: Unlock Excel Workbook with VBA code
Before discussing this method, let me clarify one thing for you. Unlock the Excel workbook with the VBA code method will not work for you if you’re using Excel 2013 or later versions. It works best in Excel 2010 and earlier versions.
In the first step, open a workbook that has a protected Excel sheet. It’s easy to open it. All you need to do is to double-click the name of the file on your computer or laptop. You can use this method to unprotect a workbook in Excel without a password.
As you know, Excel files end with extensions, such as .xlsx and .xls. So, first of all, resave the file in Xls format. For example, if the file on which you’re working was created or edited in newer versions of Excel and had a “.xlsx” extension, then the VBA code method will only work when you convert the file into Excel 97-2003 (.xls) format. And you can see it in the following image. Now you might be thinking about how to convert it? It’s easy, and you can do it in the following way:
- Go to the top right corner, and click the File menu
- Now, click Save As
- Select the folder where you want to save this file
- From the File Format or Save As Type menu, select Excel 97-2003 (.xls)
- Click Save, and you have done
But keep an eye on the screen prompts so that you can make necessary conversions.
In this step, you will open the Visual Basic Editor. Press Alt+F11
In the “Project –VBA Project Panel,” right-click the file name of a workbook. You can see this at the top of the left panel. Remember, click on the file that ends with .xls. After clicking this file, the menu will expand.
- When you click “Insert,” it will expand another menu.
Click Module, and here you will insert the code.
In this step, you’ll copy the code by pressing Ctrl+C.
Right Click the new module and paste the copied code. This copied code will appear in the module window, as you can see in the following image.
Now, you will have to Press F5 to run the code. It will take a few minutes, but once the finished running, you’ll see a pop-up window that contains a new password. This password will be a new number, which will be different from the original one.
- As mentioned earlier, when you click on OK, you’ll see a new password, but you don’t need to note down the new password. But when you click OK, it will remove the sheet protection automatically, which was our ultimate goal. The good news is you can save this workbook again into .xlsx format if you want.
Option 3: Unprotect Excel Workbook without Password via Removing Protection Tag
This option is different from the above two methods, but it is also simple and easy to understand. But first of all, you should understand that there is a difference between passwords protected Excel workbooks and unprotected Excel workbooks. Follow the below-given steps to unprotect Excel workbook.
- Select an Excel file that you want to unprotect and make its copy. Now choose one and make it password protected.
In this step, rename the file extension to a .zip file. Next, you need to unzip both files. In folder 1, rename the unprotected workbook, while in folder 2, rename the password-protected file.
- In this step, you need to compare the /xl/workbook.xml files of both folders. You’ll notice that the workbook that is password protected has the workbookProtection …/tag,,but you will not see this tag on the unprotected workbook.
- After comparing both files, we find that one file has a protection tag while the second one doesn’t have, so now you need to remove the workbookProtection …/tag from password-protected Excel sheets and workbooks. Then, click on “Save” it.
It’s a final step where you’ll use a built-in Zip program to compress all files on folder 2. Rename the extension to .xlsx and open the file. You’ll be amazed to see that all protected passwords have been removed from Excel workbooks.
This is how you can unprotect Excel workbook without a password via removing protection tags.
Final Words
In this guide, we have shared different options to unprotect a workbook in Excel without a password. All the methods are easy, but we recommend PassFab for Excel because it’s a simple and efficient method. If you want to try other methods, you can do that. We have tried different methods and then found these three methods that we have shared with you. But a pro tip is to use a password if your Excel workbook is important, especially if you’re sharing it with other people or organizations.