Hi
This needs a little VBA. In Win NT / Win 2000 / Win XP it's simply
Function CurrentUser() As String
CurrentUser = Environ("username")
End Function
Win 9x requires some windows programming. Post back if that's needed.
HTH. Best wishes Harald
"Petu" skrev i melding
...
I need to know current Windows user name and update it to Excel sheet by
function?
|