I often work with MS Excel template for different report requirement. Most of the MS Excel template includes VBA procedure, but most of them are protected with password. Below step is to remove the VBA protect passord in MS Excel.
1. Create a new MS Excel document and set the VBA protect password as "1";
2. Open this document from UE/any hex editor. And search "43 4D 47" - CMG. like below
CMG="7270DE6E5472547254725472"
DPB="E4E648E0C853C953C953"
GC="5654FA721E96919791976E"
3. Close this document, and open the target VBA protect document in UE/any hex editor.
4. Replace the same section with above values.
5. Save this document. And reopen it with MS Excel.
6. The VBA password will be changed to your new password "1", or even it will not ask for password.
Or
Open the target document and change the DPB = DPm and save the document.
After that, reopen this document in MS Excel, it will show key issue, ignore it and open this document and reset the password.
本文提供了一种在不破坏文件的情况下,解除Microsoft Excel中VBA宏密码保护的方法。通过使用十六进制编辑器修改特定的文件段,可以轻松地将密码更改为1或直接删除,使用户能够重新获得对受保护VBA宏的完全访问权限。
2378

被折叠的 条评论
为什么被折叠?



