View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jim F Jim F is offline
external usenet poster
 
Posts: 26
Default Protect current VBA Project?

Right click the VBA project in the project view.
Select VBA Project properties.
Click the Protection tab.
Check lock for viewing and then provide password.

the next time you open the project you will be prompted to supply the
passowrd.

"OKLover" wrote:

Hi, All

Is it possible to protect current VBA Project with a password in VBA?

There is a Protection Property of VBProject Object in "Microsoft Visual
Basic for Application Extensibility", but where i could set the password?