ReturnAddressStyle Property

Microsoft Word Visual Basic

ReturnAddressStyle Property

       

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

expression.ReturnAddressStyle

expression   Required. 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.

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.

With ActiveDocument.Envelope.ReturnAddressStyle.ParagraphFormat
    .LineSpacingRule = wdLineSpaceExactly
    .LineSpacing = 13
    .SpaceAfter = 6
End With