CustomLabel.NumberDown Property

Word Developer Reference

Returns or sets the number of custom mailing labels down the length of a page. Read/write Long.

Syntax

expression.NumberDown

expression   An expression that returns a CustomLabel object.

Remarks

If this property is changed to a value that isn't valid for the specified mailing label layout, an error occurs.

Example

This example displays the number of labels across and down the page for the first custom label in the CustomLabels collection.

Visual Basic for Applications
  numAcr = Application.MailingLabel.CustomLabels(1).NumberAcross
numDwn = Application.MailingLabel.CustomLabels(1).NumberDown
MsgBox Prompt:= "Number of labels across " & numAcr & vbCr _
    & "Number of labels down " & numDwn & vbCr , _
    Title:="Label Page Configuration"

See Also