Add Method (Trendlines Collection) Example
This example creates a new linear trendline in Chart1.
ActiveWorkbook.Charts("Chart1").SeriesCollection(1).Trendlines.Add