Unlock Protected Excel VBA Project and Macro codes| How to unlock VBA password in 3 easy steps

preview_player
Показать описание
Steps to unlock the Protected Excel VBA project

Step 1
Make a copy of your Macro enabled xlsm/xlsb workbook to .xls.

Step 2
Open the .xls file using notepad++. Find the word "DPB" and replace that with "DPx". Save the file and close it

Step 3

Go to VBA Project- Tools- VBA Project properties. Unchecked the option Lock project for viewing in the Protection tab. Save and close the workbook

#EXCEL
Рекомендации по теме
Комментарии
Автор

Thank you so much for this video!!! I finally able to open my file that was locked since 2011 because I forgot the password. Wow!!!
Who would figure out we need to replace DPB with DPX, we will never know this.

Just a few pointers to share:
1) Are you aware you saved your xlb file as Break VBA password.xls but then you use Big Data.xls to perform the DPB/DPX text replacement? And then you open Break VBA password.xls to access the VBAProject.Properties Protection tab to untick the Lock Project for viewing. So that is abit strange there. Anyway.

2) After I untick the Lock Project for viewing. I don't need to export all the bas modules out. I actually save the same file as xlsm and able to view all my vba modules intact within the file.

lenac
Автор

Thank you so much man. You saved me hours of work in recreating an excel sheet.

amssabith
Автор

Dayummm, worked perfectly, thank you so much!

blendertainment_animations
Автор

Thank you.. Worked got my project back...

harikabalaji
Автор

as of 12/4/2021 not working as module is missing once save as xls. kindly update tnx!

peiyamada
Автор

WoW, it's brilliant, saved lot of time for me !!!

prasannakob
Автор

works in 2024, super useful for accountants in Bosnia and Herzegovina

amarbegovic
Автор

Hi, What is I can't find DPB file after opening the file in notepad++

SurendraKumar-ggnz
Автор

WONDERFUL. YOU ARE A GENIUS. THANK YOU VERY MUCH

sisoader
Автор

If i want to do the same in Microsoft Excel Objects the way is equal?

renanpissarratessarolo
Автор

Not working for xlsm files? Get file corrupted cannot open.

davidsalter
Автор

I trying at "xlsm'" extension it didn't work ...

herisomantri
Автор

Will I be able to unlock the password on a vba file, that has been secured on a subscription basis?

seychelles
Автор

I have problem with Excel Workbook Password Removal or Recovery to Open. Not excel Sheet password...! Can you help ...?

llalbwansingh
Автор

How to do the same in ms access instead of excel. Could you please explain?

priyadharsan
Автор

Seems it is not the same for Excel AddIn. Unable to locate DPB in the AddIn

tornado
Автор

Excel not open showing error file corrupted

priyanktyagi
Автор

Do we have option to save code in any other format apart from text

tejasinindia
Автор

Super sir, i got super appreciation from my org. 👍🙏

NR-mhzj
Автор

mine says it can't find it... so i can't even unlock it... why me????

eblynl