Label Object

Represents a single unique label design available on the system.
Using the Label object
Use the Label property to return the Label object.
Each label design available on the system resides in the AvailableLabels collection, which is accessed by using the AvailableLabels property on the PageSetup 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.
- TopMargin
- LeftMargin
- HorizontalGap
- VerticalGap
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