Removing the password from a VBA project

后端 未结 6 1775
没有蜡笔的小新
没有蜡笔的小新 2020-11-30 17:08

How can I programmatically remove a (known) password from an Excel VBA project?

To be clear: I want to remove the password from the VBA Project, not the workbook or

6条回答
  •  爱一瞬间的悲伤
    2020-11-30 17:43

    After opening xlsm file with 7 zip, extracting vbaproject.bin and in Notepad ++ replacing DpB with DPx and re-saving I got a Lot of vbaproject errors and vba project password was gone but no code/forms.

    I right clicked to export and was able to re-import to a new project.

提交回复
热议问题