Hi everyone,
How can I get the login username from a macro?
Hi everyone,
How can I get the login username from a macro?
Hi,
This site might help
http://www.j-walk.com/ss/excel/tips/tip95.htm
VBA Noob
_________________________________________
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
If you mean the user name listed in Excel use link supplied by VBA Noob
If you mean the user ID that the pc is logged in underf use
Dim sUserName As String
sUserName$ = Environ("UserName")
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks