Share via


SenderName Property

Returns or sets the name of the person creating a letter with the Letter Wizard. Read/write String.

expression.SenderName

expression Required. An expression that returns a LetterContent object.

Example

This example creates a new LetterContent object, with the sender name and initials from the User Information tab in the Options dialog box (Tools menu). The example creates a new document and then runs the Letter Wizard by using the RunLetterWizard method.

Set myContent = New LetterContent
With myContent
    .SenderName = Application.UserName
    .SenderInitials =Application.UserInitials
End With
Documents.Add.RunLetterWizard _
    LetterContent:=myContent, WizardMode:=True

Applies to | LetterContent Object

See Also | RecipientName Property | SenderCompany Property | SenderInitials Property | SenderJobTitle Property