Home |
Search |
Today's Posts |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I don't know what you are trying to accomplish, but I often use:
Application.UserName This return the user name of the application (In this case, excel). Sometimes I only want macros to trigger for certain users and this is how I set it up. Of course, you have to have them go, in excel, to tools options general to see how they have their username typed. -- Thanks Shawn "Ronbo" wrote: Control Panel System = Registered to Ronald L. Lastname In Excel, Tools Options General = User name: Ronald L. Lastname Function USER() USER = Application.UserName = Ronald L. Lastname End Function Function USER2() USER2 = Environ("UserName") = Ron Lastname End Function Any help on what is going on would be appreciated. Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
(username v1) | Excel Discussion (Misc queries) | |||
Username Log | Excel Discussion (Misc queries) | |||
Username | Excel Programming | |||
username | Excel Programming | |||
Get NT Username | Excel Programming |