I want to give users the ability to use the xla module without specifying the password but whenever someone tries to edit or view the VB source code of the module it should ask for a password.

Is this possible to do in Excel? If so how can this be achieved?

有帮助吗?

解决方案

Yes this is possible.

1- Open VBa editor and right click on the project

2- In properties dialog, you can lock the code with a password

Take a look at below

enter image description here

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top