View Single Post
  #2   Report Post  
Chip Pearson
 
Posts: n/a
Default How do I display the user details in a XLS sheet?

You can only do this with a VBA function.

Public Function UserName()
UserName = Environ("username")
End Function

For more info about getting document properties in Excel, see
www.cpearson.com/excel/docprop.htm


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"CJ" wrote in message
...
Is it possible to display the current user name within a cell
of the workbook?