How to automaticaly insert user name (login name) in excel?
Try this one line UDF:
Public Function user() As String
user = Environ("username")
End Function
--
Gary''s Student - gsnu200747
"dheitz" wrote:
I wish to add a signature line on an Excel document that automatically reads
the users name from either the login or document properties. is this
possible? this will be a template for 40 users and would like to automate as
much as possible.
thanks,
|