password protected macro

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to allow a user to run a macro but not allow the user to view
the macro code unless they know the password.

Thanks
 
Alt+ F11 to open VBA editor then Tools - VBA project properties - protection
and lock project for viewing and apply a password will do what you require.

Mike
 
That's it Mike, cheers for that

Mike said:
Alt+ F11 to open VBA editor then Tools - VBA project properties - protection
and lock project for viewing and apply a password will do what you require.

Mike
 
You should always be aware that the password is no problem for experienced
users to crack.
 

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