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.

 

相关文章:

  • 2021-12-15
  • 2021-09-11
  • 2022-01-24
  • 2021-07-08
  • 2021-12-20
  • 2022-12-23
  • 2022-03-02
猜你喜欢
  • 2022-02-05
  • 2021-11-20
  • 2021-09-23
  • 2022-12-23
  • 2021-09-21
  • 2022-12-23
  • 2021-08-30
相关资源
相似解决方案