This question is a bit complicated. My ultimate goal is to prevent other companies from using our macro-excel, but employees in my company can see/modify the macro. This includes preventing employees in my company to remove/change the protection system.
So far I can allow specified people to use my macro by checking their IP address, see if it match with listed IP address in the code (detail in here).
Those people needs to be able to see/modify the other modules in the file, except the protection subs in ThisWorkbook.
I wonder if we can put password only to the "ThisWorkbook" excel object? It seems that it is not possible.
Any suggestion regarding this? Other methods are okay to achieve same goal.
Thank you in advance.
So far I can allow specified people to use my macro by checking their IP address, see if it match with listed IP address in the code (detail in here).
Those people needs to be able to see/modify the other modules in the file, except the protection subs in ThisWorkbook.
I wonder if we can put password only to the "ThisWorkbook" excel object? It seems that it is not possible.
Any suggestion regarding this? Other methods are okay to achieve same goal.
Thank you in advance.