Sort/Order related procedures in class Trendline (PowerPoint VBA)

This page presents procedures from class Trendline related to the theme Sort/Order: Border and Order

Border

Returns the border of the object.

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

Order

Returns or sets the trendline order (an integer greater than 1) when the trendline type is xlPolynomial.

ActiveWindow.RangeFromPoint.Chart.FullSeriesCollection(1).Trendlines(1).Order =