This documentation is archived and is not being maintained.

Name Property (Graph)

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

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

expression.Name

expression Required. An expression that returns one of the above objects.

Name property as it applies to the Font object.

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

expression.Name

expression Required. An expression that returns a Font object.

Name property as it applies to the all other objects.

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

expression.Name

expression Required. An expression that returns one of the above objects.

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

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