Thread: protect VB-code
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson Chip Pearson is offline
external usenet poster
 
Posts: 7,247
Default protect VB-code

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)


"mohavv" wrote in message
...
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