Envelope.ReturnAddressStyle property (Word)

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.

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

See also

Envelope Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.