Break excel macro password

Macro based applications are generally password protected.But its really not so secure( applied for Office 2003 versions only )

To break the password of an excel macro follow the steps :


1. Take a back  up of your file.

2. Get a HEX editor (download it from internet there  many of them like Ultra Edit  etc.)

3. Open your excel file in HEX editor

4. Look for a string “PDB”

5. Change in to “PDx”

6. save file and open it again ( ignore the error message )

7. Go to Macro Editor  (Alt+F11)

8. Right click on macro solution and set  any password you want ( in the second tab of the opened window)

9. Save it .

10. Now you can open it with your new password.




Note: Breaking password can lead to legal issue . Above information is just for sharing knowledge


8 thoughts on “Break excel macro password

    1. Hello Joe
      I am not sure what steps you have followed but it works great for me. I needed to use it for a protected code file ( from 2006).
      Could you please send me more specific details of your steps .

  1. Hello suresh

    When you will open your file in HEX Editor , you can search string “PDB” in the file . replace this with some other string “PBx” and save the file .

    Please make sure that you do not add any space or change any other information in the file .

    reopen the file again and reset the password by following the normal way to set a password on excel .

    I hope this will help you.

    I have only tested this on MS office 2003 (.xls file but not with .xlsx extention files )

    have a good time

  2. Definitely consider that that you stated. Your favorite reason seemed to be on the internet the simplest factor to bear in mind of.
    I say to you, I certainly get irked while folks consider concerns that
    they plainly do not realize about. You controlled to hit the nail upon the top and defined out the
    entire thing with no need side-effects , folks can take a signal.
    Will probably be again to get more. Thank you

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s