Share via


LetterContent.SenderCompany Property (Word)

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

Syntax

expression .SenderCompany

expression An expression that returns a LetterContent object.

Example

This example retrieves the Letter Wizard elements from the active document. If the sender's company name isn't blank, the example displays the text in a message box.

If ActiveDocument.GetLetterContent.SenderCompany <> "" Then 
 MsgBox ActiveDocument.GetLetterContent.SenderCompany 
End If

See Also

Concepts

LetterContent Object

LetterContent Object Members