Article ID: 180765
Article Last Modified on 11/23/2006
' 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 OutSol98
Keywords: kbhowto kbprogramming KB180765