password protection

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

Guest

I would like to create macro to protect and to unprotect my workbook. User
should enter the password for protecting and later for unprotecting of the
workbook. Alternatively the password string can be specified in the macro
itself as macro will be be protected by itself from viewing.
What is the code I should use for this ?

Thanks for suggestions.

Tony
 

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