Friday, July 19, 2024
Home » Password Remover » Remove MS Access VBA Project Password – Freeway to Open MDB File
Password Remover, VBA ~ 3 Minutes Reading

Remove MS Access VBA Project Password – Freeway to Open MDB File

Written By Sophia Grace
Marco Devin
Approved By Marco Devin  
Published On May 26th, 2022

Are you searching for a freeway to remove VBA password in Access? Why is there a need to bypass the VBA (Visual Basic for Application) project password? These are the types of queries we see on the internet. So, let’s get to know about the encryption of MS Access databases.

There are many possibilities where a user may lock the VBA project file and, after some time, they may forget the password of the Microsoft Access Database management system (DBMS). The user now wants to unlock the password from encrypting the Access files (.mdb). Here, you will find all the best manual methods to remove the VBA password from Access MDB database files.

MS Access database management users always want to secure their data and projects from unwanted users. Moreover, they always set a strong password to protect VBA projects.

Some real-time user queries which were received from the forum site

User Query about Remove VBA Password in Access

“I have an MDB file which has a VBA Project, and this VBA Project is protected with a password.” I have forgotten the password. I’ve found a solution that changes DPB to DBX, but in the file, there is no DPB in the HEX Editor.”

“A few years ago, I made a bunch of VBA Access project files that were password-protected. This is a new project that my office manager wants me to work on. I want to copy some programming code and language from old macros and modules that I used to make. But when I try to open an old Access MDB file, it asks me for the password. So, please tell me how to get rid of the VBA password in the Access database.”

Know About MS Access

MS Access is a platform for creating database files in a VBA project. It stores a lot of useful information in tabular form. Each table has data that comes from a Visual Basic project. When a user locks out their project with a password and they forget it. Also, they want to bypass the VBA project password. When the master database (.mdb) file is encrypted in a project, it adds another layer of safety.

Step to Remove Access VBA Project Password

We will explain two manual methods to remove a password from the master database file of a VBA project in MS Access:

#1 Remove Access Database password via VBA Code

  1. First, create a new Access database and open it.
  2. Secondly, press Alt+F11 to open the Visual Basic editor.
  3. Then, go to the Insert option and select Modules from the dropdown menu.
  4. Now, enter a programming code in editor windows.

    insert VBA code to remove access password

  5. Press F5 to begin the operation and also choose the Run >> Continue option.
  6. Choose the VBA Access password-protected project file and press the Open tab.
  7. After that, it will show you the password for the MS Access VBA file.
  8. Now, choose File >> info>> Encrypt with password option to remove MDB VBA password.
  9. Finally, you can easily open protected access VBA database files without a password.


In the above section, we describe several manual solutions to remove VBA passwords from Access databases. You can use any of the mentioned techniques, according to your needs. But these methods require more technical knowledge and patience to remove the Access database password.