Name Property

Microsoft Graph Visual Basic

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

expression.Name

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

ShowName 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.

ShowName 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.

Example

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

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