Format related procedures in class Trendline (Word VBA)

This page presents procedures from class Trendline related to the theme Format: Border, ClearFormats and Format

Border

Returns the border of the object.

Dim cbrBorder As ChartBorder
Set cbrBorder = ActiveDocument.Background.Chart.FullSeriesCollection(1).Trendlines(1).Border

ClearFormats

Clears the formatting of the object.

ActiveDocument.Background.Chart.FullSeriesCollection(1).Trendlines(1).ClearFormats

Format

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

Dim cftFormatted As ChartFormat
Set cftFormatted = ActiveDocument.Background.Chart.FullSeriesCollection(1).Trendlines(1).Format