Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Network Username
Excel 2000 / Windows 2000.
Connected to an MS Active Directory network. I need to find the login name of the user running the Excel VBA macro. This is NOT the same as "username" returned by VBA. (In a cmd window the value I want is returned by the command line "echo %username%" ) -- Adrian D.Bailey, Information and Systems Manager, Dept.Human Sciences Loughborough University, Loughborough Leics, LE11 3TU, UK. Tel: 01509 223007 Fax: 01509 223940 Community Warden, Storer and Burleigh Areas. Out-of-hours Tel: 01509 563263 -- |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Network Username
Environ("UserName")
-- HTH Bob Phillips (remove nothere from the email address if mailing direct) "Adrian D. Bailey" wrote in message ... Excel 2000 / Windows 2000. Connected to an MS Active Directory network. I need to find the login name of the user running the Excel VBA macro. This is NOT the same as "username" returned by VBA. (In a cmd window the value I want is returned by the command line "echo %username%" ) -- Adrian D.Bailey, Information and Systems Manager, Dept.Human Sciences Loughborough University, Loughborough Leics, LE11 3TU, UK. Tel: 01509 223007 Fax: 01509 223940 Community Warden, Storer and Burleigh Areas. Out-of-hours Tel: 01509 563263 -- |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Network Username
Hello,
Here is a little more info on it .. http://vbaexpress.com/kb/getarticle.php?kb_id=234 HTH -- Regards, Zack Barresse, aka firefytr, (GT = TFS FF Zack) To email, remove the NO SPAM. Please keep correspondence to the board, as to benefit others. "Adrian D. Bailey" wrote in message ... Excel 2000 / Windows 2000. Connected to an MS Active Directory network. I need to find the login name of the user running the Excel VBA macro. This is NOT the same as "username" returned by VBA. (In a cmd window the value I want is returned by the command line "echo %username%" ) -- Adrian D.Bailey, Information and Systems Manager, Dept.Human Sciences Loughborough University, Loughborough Leics, LE11 3TU, UK. Tel: 01509 223007 Fax: 01509 223940 Community Warden, Storer and Burleigh Areas. Out-of-hours Tel: 01509 563263 -- |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Windows API to get network username of person with file open | Excel Programming | |||
Windows API to get network username of person with file open | Excel Programming | |||
Looking for network-username with Excel macro | Excel Programming | |||
Finding the Username of a user who has a shared Network file open. | Excel Programming | |||
Network detects if Windows Username is online | Excel Programming |