Macro Security

L

lots of questions

Using the Macro Security settings - you can "hide" the code when a Word form
template is "protected", however, when the template protection is turned off,
you can see the vba code. Is there a way to "hide" the code in the
unprotected document or remove the vba selection from the menu dropdown so
the user cannot see the code? my thanks
 
H

Howard Kaikow

u can assign a password to the VBA project and lock the project for viewing.
Note that such password protection is easily bypassed.
The only secure way to protect VBA code is to compile the code into a VB 6
DLL and just have code stubs reference the DLL.
 
Top