I want a method that will password protect my vba code, so that users in the sheet won't be able to go into the code editor without entering it.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You can protect your vba code by a password as described here: http://www.ozgrid.com/VBA/protect-vba-code.htm
But this is not the most secure way to protect your code, see this thread for more information: Lock down Microsoft Excel macro