Unlock Excel VBA password without password
This steps is can work on Windows computer.
Open
foo.xlsmas ZIP file, right click onfoo.xlsmand use 7-zip open itEnter
xlfolder and right clickvbaProject.binto open itFind
DPB=invbaProject.binand replace toDPx=Close 7-zip window
Open
foo.xlsmby double click itGo to
file>Save as, create new Excel file, e.g.:foo_unlock.xlsmOpen
foo_unlock.xlsmby double click itNow can go to
Developer>Visual Basic, and can view VBA code without passwrd
Source: https://stackoverflow.com/a/48415913
Unprotect Excel worksheet without password
Open
foo.xlsmas ZIP file, right click onfoo.xlsmand use 7-zip open itEnter
xlfolder and enterworksheetsfolderOpen
sheet<number>.xmlby right click itFind
sheetProtectionand remove all of string in this tag. e.g.:<sheetProtection algorithmName="SHA-512" hashValue="XXXXX==" saltValue="XXXXX==" spinCount="100000" sheet="1" objects="1" scenarios="1"/>Save this xml file, and close 7-zip window
Now you should can open
foo.xlsmand edit something in worksheet
