

Removing VBA protection involves hex editing, and it is strongly recommended that you create a backup copy of the workbook prior to attempting. This works even if the VBA is view-locked (can't look at the code without a password). The Excel Unlocker can also remove password protection from workbook-specific VBA projects. The Excel Unlocker, written in C#, will take a workbook, extract it into C:\Temp, remove the tag from all worksheets, and re-zip it back into the original format (.xlsx or. If this tag is removed, the worksheet will no longer be protected - not just without a password, but it will not be locked at all.Īs removing this protection is a consistent, reproducible procedure, it can be easily automated. The worksheet XML files themselves will have a tag containing the hashed password, among other things. Modern Excel workbooks are cleverly-hiding ZIP archives containing separate XML files for each worksheet. On request from reddit users /u/doomlord12 and /u/ItsJustAnotherDay-, I have added functionality to handle.


This is a lightweight, portable (requires no installation) C# application that is used to remove worksheet and VBA protection from Microsoft Excel.
