username

  • Thread starter Thread starter robzrob
  • Start date Start date
Try this tiny UDF

Function uname()
uname = Application.UserName
End Function
 
You want UserName or Login Name?

See G'S's reply for Application Username.

For Login Name use this UDF

Function User()
Application.Volatile
User = Environ("UserName")
End Function


Gord Dibben MS Excel MVP
 
Back
Top