SenderInitials Property

Microsoft Word Visual Basic

SenderInitials Property

       

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

expression.SenderInitials

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