1. You can get the user name using the below and then match it aganist a set
of users who need to use your macros. So within the macro you can 'End' the
procedure if the user is not valid.
strUserName = Environ("Username")
2. Within the macro itself (in the beiginning of the procedure) you can ask
the user to enter a password and validate whether the user is allowed to...
If this post helps click Yes
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.