Envelope.RecipientPostalfromTop property (Word)
Returns or sets a Single that represents the position, measured in points, of the recipient's postal code from the top edge of the envelope. Read/write.
Syntax
expression. RecipientPostalfromTop
expression An expression that returns an 'Envelope' object.
Remarks
Use this property for Asian language envelopes.
Example
This example checks that the active document is a mail merge envelope and that it is formatted for vertical type. If so, it positions the recipient and sender address information.
Sub NewEnvelopeMerge()
With ActiveDocument
If .MailMerge.MainDocumentType = wdEnvelopes Then
With ActiveDocument.Envelope
If .Vertical = True Then
.RecipientNamefromLeft = InchesToPoints(2.5)
.RecipientNamefromTop = InchesToPoints(2)
.RecipientPostalfromLeft = InchesToPoints(1.5)
.RecipientPostalfromTop = InchesToPoints(0.5)
.SenderNamefromLeft = InchesToPoints(0.5)
.SenderNamefromTop = InchesToPoints(2)
.SenderPostalfromLeft = InchesToPoints(0.5)
.SenderPostalfromTop = InchesToPoints(3)
End If
End With
End If
End With
End Sub
See also
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for