次の方法で共有


LetterContent.RecipientName Property

Word Developer Reference

Returns or sets the name of the person who'll be receiving the letter created by the Letter Wizard. Read/write String.

Syntax

expression.RecipientName

expression   An expression that returns a LetterContent object.

Example

This example displays the salutation and recipient name for the active document.

Visual Basic for Applications
  MsgBox ActiveDocument.GetLetterContent.Salutation _
    & Space(1) & ActiveDocument.GetLetterContent.RecipientName

See Also