Excel VBA - How to disable access to the VBE

I'd like to prevent people from entering the VBE.  How can I do this?
brothertruffle880Asked:
Who is Participating?
 
ProfessorJimJamCommented:
any other VBA protectors can be panetrated by https://www.thegrideon.com/index.php?id=30 

the Secure + +  crashes if attempted to break.
0
 
Roy CoxGroup Finance ManagerCommented:
You can protect the VBA Project. Open the VB Editor and select the WorkBook in the left hand column. Then Tools -> VBA Project prperties - > Security. checl Lock Project for viewing, add a password. Close the Workbook for this to take effect
0
 
Martin LissOlder than dirtCommented:
Password protecting as Roy suggested is a way to protect it from the average user, but someone who is determined to look at the code can use any of the readily available password finders from the web. There are more secure methods for protection offered on the web but they're not free. I haven't used them
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Roy CoxGroup Finance ManagerCommented:
I have used one that makes the Project unviewable. It costs a few dollars, but I have only found one way to get round this.  However, the normal method will deter the majority of users.
0
 
ProfessorJimJamCommented:
I am using Petros secure + +  Not breakable at all. The best secure way to protect your vba

It is still in beta version, but works fine.
0
 
Roy CoxGroup Finance ManagerCommented:
I have read about that and used some of their other products. I haven't seen the beta version but it reads very much like what I use. I'm not sure if it shares the same vulnerability as the one that I use because I have not seen a workbook protected with it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.