RecipientAddress Property

Microsoft Word Visual Basic

RecipientAddress Property

       

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

expression.RecipientAddress

expression   Required. An expression that returns a LetterContent object.

Example

This example creates a new LetterContent object, sets several properties (including the recipient address), and then runs the Letter Wizard by using the RunLetterWizard method.

Dim oLC as New LetterContent
With oLC
    .ReturnAddress = Application.UserAddress
    .RecipientName = "Amy Anderson"
    .RecipientAddress = "123 Main" & vbCr & "Bellevue, WA  98004"
End With
Documents.Add.RunLetterWizard LetterContent:=oLC, WizardMode:=True