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 in Chart1. The example should be run on a 2-D column chart that contains a single series with a trendline.

Visual Basic for Applications
Charts("Chart1").SeriesCollection(1) _ .Trendlines(1).NameIsAuto = True
Automatically determine name of trendline? Control whether Excel automatically assigns id to trendline? name is auto Name Is Auto Property nameis NameIsAuto NameIsAuto Property NameIsAuto?

See also: