Trendlines Method
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Series.Trendlines Method 

Returns an object that represents a single trendline (a Trendline object) or a collection of all the trendlines (a Trendlines collection) for the series.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in

Dim Index As Object
Dim returnValue As Object
Dim series1 As Series
returnValue = series1.Trendlines(Index)

object Trendlines(
	[In, Optional] object Index
public System.Object Trendlines(
	/*in*/System.Object Index
function Trendlines(
	 Index : Object
) : Object;



Optional Object. The name or number of the trendline.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

© 2016 Microsoft