Shapes.AddLabel (Excel)

Creates a label. Returns a Shape object that represents the new label.

AddLabel (Orientation, Left, Top, Width, Height)


Dim shpAddLabel As Shape
Set shpAddLabel = ActiveChart.Shapes.AddLabel(Orientation:=msoTextOrientationMixed, Left:=, Top:=, Width:=, Height:=)

Arguments

The following arguments are required:

Orientation (Office.MsoTextOrientation) - The text orientation within the label.

Left (Single) - The position (in points) of the upper-left corner of the label relative to the upper-left corner of the document.

Top (Single) - The position (in points) of the upper-left corner of the label relative to the top of the document.

Width (Single) - The width of the label, in points.

Height (Single) - The height of the label, in points.