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)

Syntax

'Declaration
Function Trendlines ( _
    Index As Object _
) As Object
'Usage
Dim instance As Series
Dim Index As Object
Dim returnValue As Object

returnValue = instance.Trendlines(Index)
Object Trendlines(
    Object Index
)

Parameters

  • Index
    Type: System.Object

    Optional Object. The name or number of the trendline.

Return Value

Type: System.Object

See Also

Reference

Series Interface

Series Members

Microsoft.Office.Interop.Excel Namespace