Link to home
Start Free TrialLog in
Avatar of superfly18
superfly18

asked on

VBA Code Lock

VBA
How do I lock down my VBA code so that users running Macros in my spreadsheet are not able to modify or view the code. I have tried using the VBA Project Properties to lock it, but one can get around that fairly easily (either by clicking cancel or just going into the VBA interface directly)

Avatar of Brian Pierce
Brian Pierce
Flag of United Kingdom of Great Britain and Northern Ireland image

Go into the VBA window, go to Tools, VBA Project Properties and on the Protection tab select Protect from viewing and add a password - don't forget the password !
ASKER CERTIFIED SOLUTION
Avatar of zorvek (Kevin Jones)
zorvek (Kevin Jones)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial