Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Name property as it applies to the Application, Trendline, and Font objects and to all other objects.
Application and Trendline objects
Returns or sets the name of the object. Read/write String.
Syntax
expression.Name
expression An expression that returns an Application or Trendline object.
Example
This example assigns the name of the first trendline to the variable myTrendname.
myTrendname = myChart.SeriesCollection(1).Trendlines(1).Name
Font object
Returns or sets the name of the object. Read/write Variant.
Syntax
expression.Name
expression Required. An expression that returns a Font object.
All other objects
Returns or sets the name of the object. Read-only String.
Syntax
expression.Name
expression Required. An expression that returns one of the remaining objects.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.