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 microsoft.office.interop.excel.dll)

'Usage
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;

Parameters

Index

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

Show:
© 2016 Microsoft