Article ID: 167137
Article Last Modified on 2/12/2007
'Sub routine that runs when you click CommandButton1
Sub CommandButton1_Click()
'Message box that returns the current user's name
MsgBox "The current user is " & _
Application.GetNameSpace("MAPI").CurrentUser
End Sub
Additional query words: OutSol OutSol97
Keywords: kbdswnet2003swept kbhowto kbprogramming KB167137