Envelope.Options Method

Word Developer Reference

Displays the Envelope Options dialog box.

Syntax

expression.Options

expression   Required. A variable that represents an Envelope object.

Remarks

The Options method works only if the document is the main document of an envelope mail merge.

Example

This example checks that the active document is an envelope mail merge main document, and if it is, displays the Envelope Options dialog box.

Visual Basic for Applications
  Sub EnvelopeOptions()
    If ActiveDocument.MailMerge.MainDocumentType = wdEnvelopes Then
        ActiveDocument.Envelope.Options
    End If
End Sub

See Also