how can I set a macro to be password protected...

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

Guest

how can I set a macro to be password protected so that in order to run the
macro a password must be entered?
 
If you really mean "macro" then there is a separate newsgroup just for
them. Most here don't use them much.

If you mean VBA code, which is a macro in every application than
Access, then ...

At the start of the code, present the user with a message box
requesting the password with the type being password so that onlookers
won't see the characters typed. Compare the typed entry with the
stored value. You determine and maintain the try count.

HTH
 

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