expression.RecipientName
expression Required. An expression that returns a LetterContent object.
Example
This example displays the salutation and recipient name for the active document.
MsgBox ActiveDocument.GetLetterContent.Salutation _
& Space(1) & ActiveDocument.GetLetterContent.RecipientName
This example creates a new LetterContent object, sets several properties (including the recipient name), and then runs the Letter Wizard by using the RunLetterWizard method.
Dim oLC as New LetterContent
With oLC
.LetterStyle = wdFullBlock
.ReturnAddress = Application.UserAddress
.RecipientName = "Amy Anderson"
.RecipientAddress = "123 Main" & vbCr & "Bellevue, WA 98004"
End With
Documents.Add.RunLetterWizard LetterContent:=oLC, WizardMode:=True