Class LeaderLines (PowerPoint VBA)

The class LeaderLines represents leader lines on a chart. Leader lines connect data labels to data points.

Set

To use a LeaderLines class variable it first needs to be instantiated, for example

Dim lls as LeaderLines
Set lls = ActiveWindow.RangeFromPoint.Chart.FullSeriesCollection(1).LeaderLines

LeaderLines class variables can be set using the Series.LeaderLines procedure.

Border

Returns the border of the object.

Dim cbrBorder As ChartBorder
Set cbrBorder = ActiveWindow.RangeFromPoint.Chart.FullSeriesCollection(1).LeaderLines.Border

Delete

Deletes the object.

ActiveWindow.RangeFromPoint.Chart.FullSeriesCollection(1).LeaderLines.Delete

Format

Returns the line, fill, and effect formatting for the object.

Dim cftFormatted As ChartFormat
Set cftFormatted = ActiveWindow.RangeFromPoint.Chart.FullSeriesCollection(1).LeaderLines.Format

Parent

Returns the parent for the specified object. Read-only object.

Select

Selects the object.

ActiveWindow.RangeFromPoint.Chart.FullSeriesCollection(1).LeaderLines.Select