Name Property

Name property as it applies to the Application and Trendline objects.

Returns or sets the name of the object. Read/write String.

expression.Name

Name property as it applies to the Font object.

Returns or sets the name of the object. Read/write Variant.

expression.Name

Name property as it applies to the all other objects.

Returns or sets the name of the object. Read-only String.

expression.Name

Example

This example assigns the name of the first trendline to the variable myTrendname.

  myTrendname = myChart.SeriesCollection(1).Trendlines(1).Name