Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to determine the Windows login ID of my current user to determine
whether (s)he is authorized to execute certain macros. How would I get that information programmatically? Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can get that by executing this function call within your code...
Environ("USERNAME") Rick "Marvin Buzz" wrote in message ... I need to determine the Windows login ID of my current user to determine whether (s)he is authorized to execute certain macros. How would I get that information programmatically? Thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi there,
Ken Puls has a great write-up on his site with examples, full code and pictures... http://excelguru.ca/node/2 HTH -- Zack Barresse "Marvin Buzz" wrote in message ... I need to determine the Windows login ID of my current user to determine whether (s)he is authorized to execute certain macros. How would I get that information programmatically? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
userid in macro | Excel Programming | |||
Userid | Excel Programming | |||
Log UserID | Excel Programming | |||
DSN UserId and Password Prompt | Excel Programming | |||
DSN UserId and Password Prompt | Excel Programming |