LetterContent.Subject property (Word)

Returns or sets the subject text of a letter created by the Letter Wizard. Read/write String.

Syntax

expression. Subject

expression Required. A variable that represents a 'LetterContent' object.

Example

This example displays the subject of a letter created by the Letter Wizard, unless the subject is an empty string.

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

See also

LetterContent Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.