Closing Property Example

This example displays the closing text from the active document.

MsgBox ActiveDocument.GetLetterContent.Closing

This example retrieves letter elements from the active document, changes the closing text by setting the Closing property, and then uses the SetLetterContent method to update the document to reflect the changes.

Set myLetterContent = ActiveDocument.GetLetterContent
myLetterContent.Closing = "Sincerely yours,"
ActiveDocument.SetLetterContent LetterContent:=myLetterContent