Вопрос

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