Application.UserName

K

kalle

Hi

I have an workbook that is used by many people and som of them hav
access to more functions.

Therefore I use Application.UserName to who is loged on.

If my real name is Carl Something I log on with abcaso but when I use
Application.UserName I get "Carl Something" but I want "abcaso"

Is it possible to get the name?

Thanks in advance
 
M

Mike H

Hi,

Is this what your looking for

MsgBox Environ("UserName")


--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.
 

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

Similar Threads


Top