MailingLabel.LabelOptions Method

Word Developer Reference

Displays the Label Options dialog box.

Syntax

expression.LabelOptions

expression   Required. A variable that represents a MailingLabel object.

Remarks

The LabelOptions method works only if the document is the main document of a mailing labels mail merge.

Example

This example determines if the current document is a Mailing Label document and, if it is, displays the Label Options dialog box.

Visual Basic for Applications
  Sub LabelOps()
    If ActiveDocument.MailMerge _
        .MainDocumentType = wdMailingLabels Then
        Application.MailingLabel.LabelOptions
    End If
End Sub

See Also