!!! Excel and Windows NT Integrated Security !!!

D

Daniel

Do you know how to read the userid logged on a PC using VBA.

For example as using the instruction request.servervariables("AUTH_USER") in
ASP.

Thanks!
 
F

Frank Kabel

Hi
try
Public Function WinUserName() As String
WinUserName = Environ("UserName")
End Function
 
Top