User identity

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

Guest

Hi.....As it is possble to grant access to protected cells without use of
password to specified users, Excel in some way “logs†the identity of the
user.
We would like to “grab†the identity of the user and via a macro stamp this
identity into a specified cell.

Is anyone having a brilliant idea?
 
Hi Tine

You can get user ID easily enough Environ$("Username") will return this. You
could check this value in a start up macro and unprotect the cells if the
user is found, or protect the cells if not found. Ideally you want to
intercept any save request and ensure that the cells are protected at the
time of saving
 

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