Name Property
Applies To
Application object, AxisTitle object, Chart object, ChartArea object, ChartTitle object, Corners object, DataLabel object, DataLabels collection object, DownBars object, DropLines object, ErrorBars object, Floor object, Font object, Gridlines object, HiLoLines object, Legend object, PlotArea object, SeriesLines object, TickLabels object, Trendline object, UpBars object, Walls object.
Description
Returns or sets the name of the object. Read/write String.
Example
This example assigns the name of the first trendline to the variable myTrendname.
myTrendname = myChart.SeriesCollection(1).Trendlines(1).Name