Username question

D

Dave

C

Chip Pearson

Dave,

To get the user name displayed in the Options dialog, use
Application.UserName. To get the network user name, use
Environ("UserName")


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

Dnereb

to get a usersname you could use a little vba function:


Code
-------------------
Public Function UsName() As String

UsName = Environ("UserName")

End Functio
 
Top