How to Remove VBA Password from CorelDRAW?

  Rollins Duke
Rollins Duke   
Published: May 22nd, 2026 • 7 Min Read

If you want to get rid of the VBA password on a CorelDRAW file, you’ve come to the right place! You’ll be able to do this easily after following the instructions provided in this article.

In case you didn’t know, the GMS extension or Global Macro Storage is what GMS files are used for; in particular, it is a place to store macros — macros represent a series of information that either can be saved to your computer or executed by a single key press. In order to create a macro, you must have a program that uses Visual Basic (VB), which is the language used to create the program that ships with CorelDraw. Corel provides the only GMS file called globalMacroStorage.GMS.

How to Manually Remove VBA Password from CorelDRAW

If you have locked yourself out of a CorelDRAW VBA macro (.gms file) or an embedded macro within a .cdr file, you don’t always need to purchase premium software. You can bypass the password for free using the “Hex Editor Trick.” This method safely corrupts the password registry key, forcing CorelDRAW to let you write a new one.

⚠️ Critical Prerequisite: Always create a backup copy of your original CorelDRAW (.cdr) or Global Macro Storage (.gms) file before attempting this. One wrong keystroke in a hex editor can permanently corrupt the file.

Step 1: Isolate the VBA Project File

  • For .gms files: Locate your macro file (usually found in C:\Program Files\Corel\CorelDRAW Graphics Suite [Version]\Draw\GMS). You can work on this file directly.
  • For .cdr files: Modern CorelDRAW files are actually zipped archives. Rename your file extension from .cdr to .zip. Extract the archive, navigate to the content or vba folder, and look for the vbaProject.bin file.

Step 2: Open the File in a Hex Editor

Download a free, reliable hex editor such as HxD or Hex Editor Neo. Open the program, click File > Open, and select your .gms or vbaProject.bin file.

Step 3: Search for the “DPB=” String

Press Ctrl + F (or go to Search/Find). Set the data type to Text String or ASCII, type DPB= into the search bar, and hit Enter. The hex editor will highlight the exact location of this text line in the file.

Step 4: Modify the Value to Break the Lock

Click directly on the letter B in DPB= on the right-hand text side of your screen. Replace it with an x so that the text now reads DPx=. Save the changes.

Step 5: Generate a New Password in CorelDRAW

  1. Open CorelDRAW and launch your modified file.
  2. Press Alt + F11 to launch the VBA Visual Basic Editor.
  3. You will likely encounter an error message stating “Project file contains invalid key ‘DPx’ – Continue?”. Click Yes or OK to pass through any consecutive error pop-ups.
  4. Once inside, right-click your VBA Project name in the left sidebar and select VBAProject Properties.
  5. Navigate to the Protection tab, uncheck the “Lock project for viewing” option, or type a brand new, easy-to-remember password. Click Save.

How to Remove VBA Password from CorelDRAW File?

BitRecover VBA Password Remover is a highly recommended software available in the market. Many IT professional experts use our software to remove VBA passwords from CorelDRAW. Because it has amazing and advanced features like users can easily unlock multiple GMS files at one time. The software preserves all the Modules and Macros of the files during the procedure. Also, there are options to remove passwords from single and multiple files at one time.

How to Remove Word VBA Project Password?

Steps to Unlock VBA Password of GMS Files

  1. Download and run the software on your machine.

    run the software to remove VBA Password from CorelDRAW File

  2. Now upload the CorelDRAW files using the “Select Files” and “Select Folder” options.

     upload the CorelDRAW files

  3. After that, all the folders and subfolders will appear on the screen, and then check the required data.

    all the folders and sub folders will appear

  4. Next, browse the saving location to save unlock GMS files to Remove VBA Password from CorelDRAW.

    browse the saving location

  5. Lastly, click on the “Remove” icon and then a pop-up will appear on the screen.

    pop up will appear on the screen to remove VBA Password from CorelDRAW File

Software Features:

  • Editing and setting up of the Software will only take a short time to complete.
  • The Software is able to support both single CorelDRAW files as well as multiple files at once.
  • This Software allows users to easily delete the VBA password from multiple GMS Files.
  • There are no restrictions on the Maximum size of the File(s) during or after the removal process will be allowed.
  • After using the Software will allow access to all Macros and Modules in the Project(s) will continue.
  • Users can use this Software to remove the VBA Password of all CorelDRAW VBA Projects.
  • The Software is Compatible with all versions of Microsoft Windows Operating Systems; including Windows 11, 10, 8, and older.

Client Reviews

“I’m so happy to have found the BitRecover software which helped me unlock VBA Passwords on my Solidworks files. I was scared of being unable to recover my macro functionality if I were to remove the password from SolidWorks files. BitRecover has kept all of my macros intact! I highly recommend this tool to anyone needing to remove VBA passwords. Thanks, BitRecover for your help. – Amby from Dubai

“I was looking for a way to unlock over 500 VBA Project files when I found a link to this CPU program on the internet. The features and benefits of this program are truly all I needed! It had taken some time, but within just a few minutes, I had successfully unlocked my entire library of VBA Project files. Thanks BitRecover for your assistance. – Nany from USA

Frequently Asked Questions (FAQs)

Q1. Can I damage my CorelDRAW file with this Hex Editor?

A1. No, so long as you follow the instructions carefully. This method of using the hex editor is only to remove the VBA password from the macro. None of the other components of your design, such as the vector graphic, the layers, or the color profile will be touched. Always work on a copy of the file instead of the original.

Q2. Why does my file crash or say “Unexpected Error” after changing the DPB to DPx?

A2. Usually this happens when the length of the file was changed at the same time you edited it (e.g. you accidentally pressed the backspace key or delete key rather than just replacing the letter). Ensure you change only the ‘B’ and the ‘x’ without changing the length of the file even by one byte.

Q3. What if this manual method does not work?

A3. If your VBA macro is very complex or highly encrypted, or was compiled using a newer VSTA (C#/.NET) method instead of the legacy VBA, likely this manual hex editing method will not be successful. In these cases, the most reliable option will be to use a dedicated automated utility like BitRecover to safely enable you to access the macro.

Final Words

This article discusses an expert method for removing passwords associated with Visual Basic Applications (VBA) that protect CorelDRAW files. We presented the BitRecover tool, which has an excellent reputation, and is available in both free and paid versions of their software. If you want to be sure that it works like you expect it to, you may want to try out the free version of their software; simply click on the download link, and get the program to see what the software offers.

Google Preferred Source