CustomLabel.NumberDown property (Word)

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.

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

CustomLabel Object

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.