Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Make sure you have a backup of the file in case something goes wrong.


Use a hex editor to find and replace "DPB" with "DPx"

If you're trying to unlock a .xls


or .xla


These are older files but they are still around.  Open file, open the file in your hex-editor and find for text string "DPB":


For xlsm files you need to do an extra step at the start.  Basically xlsm is a zipped format, so rename the extension to .zip and do the following:

  1. open and open the "xl" folder
  2. extract "vbaProject.bin"
  3. do hexedit method (see left)above on the "vbaProject.bin" file
  4. save the file and the reinsert into the zip
  5. rename back to xlsm.
  6. repeat steps previously outlined by changing and then removing the password.


Page properties

Related issues