Share via


LetterContent.ReturnAddress Property

Word Developer Reference

Returns or sets the return address for a letter created with the Letter Wizard. Read/write String.

Syntax

expression.ReturnAddress

expression   Required. A variable that represents a LetterContent object.

Example

This example creates a new LetterContent object, sets the return address and several other properties, and then runs the Letter Wizard by using the RunLetterWizard method.

Visual Basic for Applications
  Dim oLC as New LetterContent
With oLC
    .LetterStyle = wdFullBlock
    .Salutation ="Hello"
    .SalutationType = wdSalutationOther
    .ReturnAddress = Application.UserAddress
End With
Documents.Add.RunLetterWizard LetterContent:=oLC

See Also