Encrypt VBA Code Modules
 
 
 

Although VBA does not support creation of executables, it does offer password protection for the visibility of the project forms, classes, and modules on a project basis. You can find this Project Protection facility in the VBA IDE menu. Choose Tools Project Properties Protection.