How to Remove the VBA Password from Visio File?

  Rollins Duke
Rollins Duke   
Published: May 23rd, 2026 • 6 Min Read

Are you also one of the users, who are looking for a way to remove the VBA password from Visio file *.vsdm, *.vssx, *.vssm, *.vxtx, *.vstm files? if yes, then you are on the right page.

In this age of technology, we perform all of our work on digital spreadsheets, such as Excel, Word, PowerPoint, and Visio, amongst other applications, for the sake of flexibility and speed. Additionally, if we are working professionals. We are required to protect our files and information using a password at all times.

And the password for the VBA project is one of the most effective techniques to protect our data. But have you ever considered what you would do if you forgot and lost the password to the VBA project? Don’t worry; in this article, we will walk you through the most efficient and risk-free methods to remove the VBA password from Visio.

But do you know completely about the Visio file? no, don’t worry, before starting the process, take some knowledge about Visio files.

About Visio File

Visio is a program included with Microsoft Office that serves as a visualization program that presents information in an uncomplicated manner through the use of recognizable symbols and flow diagrams and decision trees that have been generated to visualize a set of data. Visio is designed to work with data that is suited to being presented in diagrams and charts.

Once a user creates a design using Visio and saves it to a storage medium, there are several options available for saving the design, including VSDX, VSX, VTX, VDX, VSSX, VSTX, VSDM, VSSM, and VSTM file formats. All of these file formats are included in the Visio file format category.

Also Read: How to Remove Macro Virus from Word File?

Manual Method to Remove VBA Password from Visio Files (.vsdx)

If you prefer a DIY approach over using a dedicated tool, you can bypass the VBA password by modifying the file’s internal XML structure. Before starting, always create a backup copy of your original Visio file to prevent any data loss.

  1. Change the Extension: Locate your Visio (.vsdx) file, right-click it, and rename the file extension from .vsdx to .zip. Confirm the change when the prompt appears.
  2. Extract the Archive: Right-click the new ZIP file and extract its contents into a dedicated folder using a tool like WinRAR, WinZip, or 7-Zip.
  3. Locate the VBA Binary: Open the extracted folder, navigate to the visio subfolder, and find the file named vbaProject.bin.
  4. Edit via Hex Editor: Open vbaProject.bin using a free Hex Editor (such as HxD). Press Ctrl + F to search for the text string “DPB=”.
  5. Modify the Key: Replace “DPB=” with “DPx=” (changing the ‘B’ to an ‘x’). Save the file and close the hex editor.
  6. Re-pack the File: Select all the extracted files and folders, right-click, and compress them back into a single ZIP archive.
  7. Restore Visio Extension: Change the extension of this new ZIP file back to .vsdx.
  8. Reset Password in Visio: Open the file in Microsoft Visio. Click “Yes” or “OK” through any error warnings. Press Alt + F11 to open the VBA Editor, go to Tools > VBAProject Properties > Protection, and uncheck “Lock project for viewing” to completely remove the password.

Direct Solution to remove VBA password from Visio

BitRecover VBA Password Remover Wizard was created as a result of extensive research to erase Visio’s VBA password. The software is designed using cutting-edge algorithms, which is one of the reasons why it is so effective at removing VBA passwords from Visio files. All Visio VBA project files, including *.vsdm, *.vssx, *.vssm, *.vxtx, and *.vstm files, may have the password removed quickly and simply by authorized users. In addition, users can unlock the password for many files all at once.

The Software has Many Excellent Features:

  • This program supports all types of Visio VBA project files including .vsdm, .vssx, .vssm, .vxtx and .vstm files.
  • This software will preserve and retain the Modules and macros during the completion of any operation and without fail.
  • Removing a high-level or difficult VBA password from your project can be done extremely easily with this program.
  • Users can use this program seamlessly on any Windows operating system version (i.e. Windows 11, 10, 8) and earlier versions i.e. Windows 98 & XP Systems.
  • You can use one of two upload methods – an upload method for one single file or an upload method for multiple files, you choose!
  • This software offers free versions that you can download to see how easy it is to use and to become familiar with how it works and what its capabilities are.

How to Remove Word VBA Project Password?

How to Remove the VBA Password from Visio?

  1. Download and run the tool on your machine.

    run the tool to remove VBA password from Visio

  2. Now from the “Select Files” and “Select Folder” options, upload the single and multiple Visio files.

    upload the single and multiple Visio files

  3. After that, all the data will show on the screen, select the required files.

    all the data will show on the screen

  4. Now, browse the saving location to save the unlocked Visio files.

    browse the saving location to remove VBA password from Visio

  5. In the end, press the “Remove” icon to start the process.

    press the “Remove” icon

Important Note: The software comes with the free version, which only detects the password. If you want to remove the complete password, then you must purchase the licensed version of the software.

FAQs

Q: Is it possible to remove a VBA Password from an Visio file without using a third-party software program?

Certainly, you have the ability to manually edit or remove the password on your Visio VBA project, using a standard Hexadecimal Adaptor and renaming the original file (example: .vdx to .zip).

Q: If I edit my original Visio drawings will they become corrupt?

There’s always a small amount of chance that if you were to edit the hex code incorrectly, the corruption could happen, therefore it is recommended to work on a copy of your file instead of your original.

Q: Will renaming a file to .zip work for older version .vsd files (before 2006)?

Unfortunately not as that only applies to the most recent XML (vsdx) version files, as the .vsd files do not have an XML structure they won’t work for this particular process.

To conclude:

In this article we have walked you through the steps to unlock the VBA Password on your Visio files through one of the best programs available today, you will find innovative features within the software. In combination with the free version of the software provided, users can try out the tool before making an investment into purchasing a license for the full version.


Live Chat
Google Preferred Source