Envelope.ReturnAddressFromLeft property (Word)

Returns or sets the distance (in points) between the left edge of the envelope and the return address. Read/write Single.

Syntax

expression. ReturnAddressFromLeft

expression An expression that returns an 'Envelope' object.

Remarks

If you use this property before an envelope has been added to the document, an error occurs.

Example

This example creates a new document and adds an envelope with a predefined delivery address and return address. The example then sets the distance between the left edge of the envelope and the return address to 0.75 inch.

addr = "Karin Gallagher" & vbCr & "123 Skye St." _ 
 & vbCr & "Our Town, WA 98004" 
retaddr = "Don Funk" & vbCr & "123 Main" _ 
 & vbCr & "Other Town, WA 98040" 
With Documents.Add.Envelope 
 .Insert Address:=addr, ReturnAddress:=retaddr 
 .ReturnAddressFromLeft = InchesToPoints(0.75) 
End With 
ActiveDocument.ActiveWindow.View.Type = wdPrintView

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.