Home » Blog » Password » How to Remove VBA Password from MS Access?

How to Remove VBA Password from MS Access?

Published By Nilesh Kumar
Debasish Pramanik
Approved By Debasish Pramanik
Published On January 18th, 2024
Reading Time 6 Minutes Reading
Category Password

This blog shows how you remove VBA password from MS access and access the information stored in these files. MS Access creates database files containing information in tabular form in which every table stored data that belongs to VBA project.

There are chances and situations where a user may lock the VBA project and forgets the password to them and get locked out of the file. Users now want to crack the password which is a protective layer to encrypt the Access files (.mdb). There are also cases where the files are corrupted or show errors and prevent access to the VBA project.

Here, you will find all the best methods to bypass the password protection and be able to access the VBA project. Read till the end of the blog to find out which is the best way as per your requirements and learn how to perform the password recovery or removal in a trouble-free manner.

Solutions to Remove VBA Password from MS Access

We will be explaining 3 simple techniques to perform the removal procedure to get the information from the files. You will find the steps for each method in the upcoming segments so you can check these out and understand which is better suited for you. First, we will be discussing the solutions in brief here:

    1. Manual Methods
    2. Using MS Access
    3. Via Visual Basic Editor
    4. Hassle-Free Solution

As mentioned above, the first method in the manual method can help you perform the procedure using MS Access database file but can only open a file and not set or change an existing password. Same goes for the second method, which makes use of the Visual Basic Editor to unlock VBA password.

Both these methods are limited to not setting or changing an existing password and require technical expertise and knowledge of using VBA codes. Whereas, the third method will help users to perform the password removal operation without any troubles and is an easy-to-use method. For this, you just need to download the expert solution and perform the easy steps of removal.

2#Manual Method to Remove Password Using MS Access 

Follow the given steps to break the password:

  • First of all, open the file by entering the correct password for the database file.
  • After that, click on the File tab and press the Open button to start with the process.
  • Choose the Decrypt Database option and click OK when asked about exclusive use.
  • Next, you have to choose the Access Database file (.accdb) which is to be decrypted.
  • Now, choose Open Exclusive from the drop-down list.
  • This way you can break the password.
  • After that, click on the File tab again and go to the Decrypt Database option.
    8. Enter the password in the User Database Password dialogue box and hit OK.

By doing so, any password from MS Access Database will be removed making it free to access. Even though this method seems simple, it needs some technical knowledge while performing it.

1# Remove VBA Password from MS Access Using Visual Basic Editor

This method makes use of ActiveX Data Objects (ADO.Net) cove and works with MS Access 2003 and 2007. Follow the steps:

1. Start by creating a new Access database and open it.
2. Now, press the Alt + F11 keys to open the Visual Basic Editor.
3. After that, click on the Insert option and hit the Module button.

Then, you have to enter the code as given below:
Function OpenPwdProtectedDB(DBPath
As String, _ Pwd As String)Dim CN As ADODB.Connection
Set CN = New ADODB.Connection
‘ Remove MS Access VBA Password
‘ Open database for shared (by default), read/write access, and
‘ specify database password.
With CN
.Provider = “Microsoft.Jet.OLEDB.4.0”
.Properties(“Jet OLEDB:Database Password”) = Pwd
.Mode = adModeReadWrite
.Open DBPath
End With
‘ Here goes the Code to work with database.
Set CN = Nothing
End Function

This is a bit complex but for those who know about the VBA codes and have technical expertise, this method can help in every way. For those who want a simpler approach to remove password from MS access database can skip to the next method.

Expert Solution to Remove VBA Password from MS Access

This solution, as discussed above, is a tool that can easily help users remove the password for the Access file and is amazing software. It has the capability to crack passwords for multilingual projects as well. This is highly recommended to use Best VBA Word Password Breaker Tool to remove VBA passwords safely and accurately. It is one of the most reliable and secure applications, and it allows you to remove unlimited passwords for VBA Access projects.

Download Now Purchase Now

This software also allows users to recover MS Access VBA macro file passwords from multilingual VBA documents. This tool has the ability to break VBA password in Excel and is compatible with various Office files, such as.mdb and.accdb for MS Access. Here is the function described in the next section that allows a user to reliably remove the password for his VBA project in Access.

Steps to Unlock Password Protected Access Database

The tool has great features and a user-friendly interface, which makes it easy for users to understand how it works. Let’s find out:

  • Download and Launch the application on your Windows OS desktop.


  • Insert the required files in the software panel by clicking on the Add File(s) option.

add files

  • Browse for the files that you need to remove password from and hit Open button.


  • Finally, press the Reset option to unlock VBA password.


These are the only steps that a user has to follow while trying to break the password. The software has various features that you can utilize as explained below:

  • Option to generate a new password and remove the old one
  • Removes the password from single or multiple VBA projects
  • Compatible with Multiple Windows OS and MS Office (32/64 bit)
  • Breaks password of any length without any restrictions
  • Can work with MS Access file of Office 2007, 2003, 2000, and lower versions

Final Lines

The solutions to remove VBA password from MS Access have been explained in this write-up. There are not many users who have technical expertise which is why they might find the manual workarounds a bit difficult and complex. Which is why we have given a simpler approach for those who want an easy solution which they can use.