I need to know current Windows user name and update it to Excel sheet by function?
P Petu Dec 8, 2004 #1 I need to know current Windows user name and update it to Excel sheet by function?
H Harald Staff Dec 8, 2004 #2 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
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