password protect VBA code

H

Horatio J. Bilge

How can I protect VBA code with a password, so users are unable to view the
code?

Thanks,
~ Horatio
 
N

Norman Jones

Hi Horatio,

In the VBE, with the project selected:

Tools | XYZ Properties | Protection Tab | Password

where XYZ is the project name, the default being VBAProject.
 
E

Earl Kiosterud

Horatio,

In the VBE, Tools - VBA Project properties - Protection tab. Check "Lock
project for viewing."
 
H

Horatio J. Bilge

That's what I had been trying, but this time it worked. I guess I did
something different.
Thanks for the help.

~ Horatio
 
Top