Partager via


MailingLabel.LabelOptions Method (Word)

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.

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

See Also

Concepts

MailingLabel Object

MailingLabel Object Members