Trendline.NameIsAuto property (Excel)
True if Microsoft Excel automatically determines the name of the trendline. Read/write Boolean.
Syntax
expression.NameIsAuto
expression A variable that represents a Trendline object.
Example
This example sets Microsoft Excel to automatically determine the name for trendline one on Chart1. The example should be run on a 2D column chart that contains a single series with a trendline.
Charts("Chart1").SeriesCollection(1) _
.Trendlines(1).NameIsAuto = True
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.