Removing the password from a VBA project

后端 未结 6 1772
没有蜡笔的小新
没有蜡笔的小新 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:26

    My 2 cents on Excel 2016:

    1. open the xls file with Notepad++
    2. Search for DPB= and replace it with DPx=
    3. Save the file
    4. Open the file, open the VB Editor, open modules will not work (error 40230)
    5. Save the file as xlsm
    6. It works

提交回复
热议问题