Label Object [Publisher 2003 VBA Language Reference]
Represents a single unique label design available on the system.
Using the Label object
Use the Label Property property to return the Label object.
The following properties of the Label object are read/write when the Label object is returned using .PageSetup.Label. These properties are read-only if the Label object is returned using any other method.
The following example uses the Label property to return the fifth label available on the system, and then some of the label's properties are set.
With ActiveDocument.PageSetup .Label = .AvailableLabels(5) ' Label 5 is Avery 5164 Set theLabel = .Label With theLabel .LeftMargin = InchesToPoints(0.15) .TopMargin = InchesToPoints(0.15) .HorizontalGap = InchesToPoints(0.1) .VerticalGap = InchesToPoints(0.1) End With End With