Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Application.UserName
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 *** Sent via Developersdex http://www.developersdex.com *** |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Application.UserName
Use
LoggedOnUser = Environ("Username") -- HTH Bob "kalle" wrote in message ... 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 *** Sent via Developersdex http://www.developersdex.com *** |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Application.UserName
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. "kalle" wrote: 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 *** Sent via Developersdex http://www.developersdex.com *** . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
environ username vs. application username | Excel Programming | |||
Application.UserName Question | Excel Discussion (Misc queries) | |||
Username | Excel Programming | |||
application.username | Excel Programming | |||
Get NT Username | Excel Programming |