Envelope.ReturnAddressStyle Property

Word Developer Reference

Returns a Style object that represents the return address style for the envelope.

Syntax

expression.ReturnAddressStyle

expression   An expression that returns an Envelope object.

Remarks

If an envelope is added to the document, text formatted with the Envelope Return style is automatically updated.

Example

This example displays the style name and description of the envelope return address.

Visual Basic for Applications
  Set myStyle = ActiveDocument.Envelope.ReturnAddressStyle
MsgBox Prompt:=myStyle.Description, Title:=myStyle.NameLocal

This example sets the line spacing and space-after formatting for the envelope return address style.

Visual Basic for Applications
  With ActiveDocument.Envelope.ReturnAddressStyle.ParagraphFormat
    .LineSpacingRule = wdLineSpaceExactly
    .LineSpacing = 13
    .SpaceAfter = 6
End With

See Also