0% found this document useful (0 votes)
78 views3 pages

Remove Password From XLSB VBA Project - SviPullo

hiu

Uploaded by

Kurikulum Bestu1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
78 views3 pages

Remove Password From XLSB VBA Project - SviPullo

hiu

Uploaded by

Kurikulum Bestu1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

10/14/2018 Remove password from XLSB VBA Project | SviPullo

28th September 2016 Remove password from XLSB VBA Project


This post describes how to remove easily the VBA Project protection inside an XLSB Excel Workbook.
...even if it is against my nice­guy ethics…

For first you must create a backup copy of your Workbook!!!

Then you have to rename the XLSB file with ZIP extension.

Test.XLSB => Test.ZIP

Opening your ZIP file using a compression software (e.g. WinRar) I can see the content of the file, structured in folders

[https://4.bp.blogspot.com/­vzpqW8gzSvA/V­
uuZx8cFGI/AAAAAAAAA5g/TTsrqTK7a5MOZMW_2p7YRjJpmiXbZ1YFACLcB/s1600/Folders.PNG]

Inside the folder xl you can find a binary file named vbaProject.bin.
Extract it on your desktop and edit it using a text editor. In my case I used Notepad++.

[https://2.bp.blogspot.com/­KSuZsOoVXK0/V­
uujpGvHxI/AAAAAAAAA5k/OuvFFZVJtLAEYBzQujBbtq_YEyOLezFpACLcB/s1600/notepadpp.PNG]

Using the Find function of your editor, you must search the text DPB

[https://2.bp.blogspot.com/­AD1T5iB31ag/V­
http://zsvipullo.blogspot.com/2016/09/remove‐password‐from‐xlsb‐vba‐project.html 1/3
10/14/2018 Remove password from XLSB VBA Project | SviPullo

uupKE2SSI/AAAAAAAAA5o/kK1mPYYcHrEcx2iikW__aQybPu­KitopgCLcB/s1600/DPB.PNG]

And replace the DPB string with DPx

[https://1.bp.blogspot.com/­n3RKwUNFXp4/V­
uuw_aFMTI/AAAAAAAAA5s/Y3QeROTqd2QMa2LuI6oXn1hvapzB2L7uQCLcB/s1600/DPx.PNG]

Then save the vbaProject.bin and replace this file inside the .ZIP File, renaming then .ZIP file in XLSB.

Reopening the XLSB file using Excel, you will get an error message:

[https://1.bp.blogspot.com/­cDa493HP0co/V­
uu5btHQhI/AAAAAAAAA5w/H5d5k4ST­oEWSNHm­sAf3Fcn6nzefdD5wCLcB/s1600/Error1.PNG]

you have to answer Yes to this error message. Then Save, Close and Reopen your XLSB file.

Now, if you go to VBA Editor (ALT + F11), you can see and edit all project files.

[https://1.bp.blogspot.com/­ZAqaTJ7e7dg/V­
uvEY7vYYI/AAAAAAAAA50/gG8foGLkPWUcu3vOXNpqgBec1gcNKwwKgCLcB/s1600/Ok.PNG]

http://zsvipullo.blogspot.com/2016/09/remove‐password‐from‐xlsb‐vba‐project.html 2/3
10/14/2018 Remove password from XLSB VBA Project | SviPullo

Postato 28th September 2016 da Bubu


Etichette: Excel, Password, Project, Protected, Remove, VBA, XLSB

1 Visualizza commenti

Anonymous 18 maggio 2017 02:00


You can also take the help of VBA password remover utility (http://www.vbapasswordremover.net/) to
remove VBA password in just few clicks.
Rispondi

Inserisci il tuo commento...

Commenta come: [email protected] (Google) Esci

Pubblica Anteprima Inviami notifiche

http://zsvipullo.blogspot.com/2016/09/remove‐password‐from‐xlsb‐vba‐project.html 3/3

You might also like