How to insert os or office user-name in excel?

  • Thread starter Thread starter hownw
  • Start date Start date
H

hownw

I am creating a form for multiple users, so whenever a user use the form,
there will be a cell reflecting the user name. This is to track who use and
printed the form.
 
In VBA

Environ("UserName") gives you the logged on user.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

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