Share via


Envelope.ReturnAddressFromTop Property (Word)

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

Syntax

expression .ReturnAddressFromTop

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 top edge of the envelope and the return address to 0.5 inch and sets the distance between the left edge of the envelope and the return address to 0.75 inch.

addr = "Eric Lang" & vbCr & "123 Main" _ 
 & vbCr & "Seattle, WA 98040" 
retaddr = "Nate Sun" & vbCr & "123 Main" _ 
 & vbCr & "Bellevue, WA 98004" 
With Documents.Add.Envelope 
 .Insert Address:=addr, ReturnAddress:=retaddr 
 .ReturnAddressFromTop = InchesToPoints(0.5) 
 .ReturnAddressFromLeft = InchesToPoints(0.75) 
End With

See Also

Concepts

Envelope Object

Envelope Object Members