Object Reference > Labels Collection > Labels Collection Methods > Add Method (Labels) |
Add Method (Labels)
Adds a Label object to the collection. Returns a Label object.
Function Add(Text As String, [Before]) As Label
Part |
Type |
Description |
Text |
String |
The text string for the new label |
Index |
Variant |
Index of the location of the new label in the collection (if omitted, add at end). Index can be a number or text. |
See Also