UserName Property
Applies To
Application object.
Description
Returns or sets the user's name, which is used on envelopes and for the Author document property. Read/write String.
See Also
Author property, Name property, UserAddress property, UserInitials 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