UserName Property Example

This example sets the user's name.

Application.UserName = "Andrew Fuller"

This example returns the name found in the Name option on the User Info tab in the Options dialog box.

Msgbox Application.UserName