Macro to retrieve user information
try this line of code
msgbox environ("userName")
--
HTH...
Jim Thomlinson
"Randy" wrote:
I have a need for a function or macro to retrieve the currently logged on
user name. Has anyone done this before or know how to do this? Also, would
the same thing work for Word? I'm running Office 2003.
Thanks!
Randy
|