您的位置:首页 > 编程语言 > VB

remove vba project password

2013-03-28 17:25 309 查看
a link from stackoverflow, The last two steps is very important,

Or you will encounter 40230 again and again.
http://stackoverflow.com/questions/272503/how-do-i-remove-the-password-from-a-vba-project
excerpt:

Open xls file with a hex editor. (very simple use hexedit.exe from http://www.physics.ohio-state.edu/~prewett/hexedit/)

Search for DPB

Replace DPB to DPx

Save file.

Open file in Excel.

Click "Yes" if you get any message box.

Set new password from VBA Project Properties.

Close and open again file, then type your new password to unprotect.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: