RecipientAddress Property

Microsoft Word Visual Basic

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