protect VB-code

  • Thread starter Thread starter mohavv
  • Start date Start date
M

mohavv

Hi,

Is there a way to protect a Module or a Form with a password
separately so that the code isn't visible?

Or is the only way to protect it by using the password option in the
project properties?

Cheers,

Harold
 
You cannot protect individual VB Components. You can password protect the
entire project or nothing at all. Note that the password protection provided
by the VBA editor is very weak. It should be considered to protect the
honest user from honest mistakes. It is not strong enough to protect
proprietary code or code with intellectual property value. For that level of
protection, you should be writing your code in VB6 or NET.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top