How to Remove VBA Password from Excel File? Complete Guide
There is nothing more frustrating than finding the password of an Excel file which is protected with a VBA password, that you have forgotten. Or maybe you want to delete the password from Excel file, which has been protected by your ex-employee and you’re stuffed now. Don’t worry, I have some ideas to remove VBA password in Excel workbook 2021, 2019, 2016, 2013, 2010, 2007, and previous versions.
We all know VBA stands for Visual Basic for Application, which is used by Microsoft apps like Excel, Word, Access, PowerPoint, etc. MS Excel from 2007 to 2021 saves macro-enabled workbook files as XLSM, while older versions use XLM.
Only XLSM or XLM file formats for visual basic files and store the visual basic code. This file helps make Office Suite better and automate tasks in Microsoft Excel.
But sometimes happened, when users forget their passwords due to multiple reasons and scenarios. So here we are going to explain the method ways to remove VBA passcodes in Excel workbook with complete information.
How to Remove VBA Password in Excel File Automatically?
Download the RecoveryTools VBA Recovery Tool to break VBA password in Excel file easily with preserved complete data. This software is ideal for unlocking password from any type of Excel file including doc,.docm,.dot,.dotm,.xls,.xlsm,.xlsb,.xlam,.xltm,.xlt,.xla,. it comes with amazing and advanced features, which makes it first choice of experts to remove VBA password in Excel.
Also, it comes with the free demo version, so that all types of users can analyze the software’s performance and features. Some of the advanced capabilities and complete steps are given below:
Quick Steps to Remove VBA Password in Excel
- Step 1: Download and start the tool.
- Step 2: Add your protected files/folders.
- Step 3: Select the required data file from panel.
- Step 4: Browse the saving location.
- Step 5: Click on the Remove button.
- Step 6: Your file will be unlocked.
Why Advanced Solution Over Manual Method?
- Users can easily remove VBA password in Excel workbook in bulk at once without having any file size limitations, also it can easily work with large size of locked files.
- The manual method can only break VBA password from Excel file, while the expert solution can break VBA passcodes from Word /PowerPoint/ Access/ AutoCAD/ ArcGIS/ CATIA/ CorelDraw and SolidWorks.
- Our developers have created this tool with highly advanced algorithms, so it provides virus and risk-free results. And also, it maintains the all-important details of your data.
- The dual option allows users to upload single or multiple VBA-protected Excel files and folders at once using Select Files and Select Folders options to remove VBA passwords in Excel.
- The Browse (Folder) option gives freedom to users to select the desired location to save results. Also, it chooses the desktop path by default.
How to Remove VBA Password from Excel Workbook Manually?
Here we will mention 3 manual methods to break VBA password in Excel files. All the methods are given below one by one in detail:
# 1: By Changing File Extension
- Firstly, change the extension from .xlsm to *.zip of VBA.
- Now open this zip file with WinZip/ WinRar.
- Hit on the .xl folder.
- Extract VBAProject.bin from here and open It in Hex Editor.
- Now look for the DPB replace it with DPx and save the file.
- After that, replace your old VBAProject.bin with the new VBAProject.biv.
- And now change the extension from *zip to *.xlsm.
- Open Visual Basic in MS Excel >> Tools >> VBAProject Properties.
- Select the Protection, put the new password, and save the *.xlsm file.
- Lastly, you can open your Excel file with a new password.
#2: Remove VBA Password in Excel without Hex Editor
- Create a new Microsoft Excel XLS/ XLSX with Hex Editor.
- Now you have set a password in the VBA field (Alt + F11).
- After that, save the created file at any path and exit.
- Open the newly created file using Hex Editor.
- And copy all file which starts with CMG=…, DPB=…, and GC=….
- After that, open the VBA-protected file in Hex Editor.
- And paste it here.
- Save this file to remove VBA password in Excel.
- Finally, you can open your protected VBA Excel file with the common password.
#3: VBA Remove Password from Excel with Workbook
- Open your password-protected Excel workbook.
- Click on the Alt + F11 to open Visual Basic editor.
- After that, copy and paste the given VBA module from Insert Module.
- Click on the F5 and start the code.
- And finally, you can open your protected Excel without putting in the password.
Drawbacks of Manual Methods
- These methods will not work with bulk files to remove VBA password from Excel file.
- Also, it will take a long time to accomplish this task.
- Users should have good technical knowledge to start this process.
- And there is no 100% guarantee that this method will work.
Time to Say Goodbye
Here we have explained the best and complete methods to remove VBA password in Excel workbook 2021, 2019, 2016, 2013, 2010, 2007, and previous versions. We have used both manual and expert solutions with all the information and step-by-step guide. Expert solutions are better than manual method because manual ways have lots of drawbacks. So it is better to use professional tools. We have tried to provide complete information; hope you find the article helpful.