ITrendlines.Add Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Add ( _
Type As XlTrendlineType, _
Order As Object, _
Period As Object, _
Forward As Object, _
Backward As Object, _
Intercept As Object, _
DisplayEquation As Object, _
DisplayRSquared As Object, _
Name As Object _
) As Trendline
'Usage
Dim instance As ITrendlines
Dim Type As XlTrendlineType
Dim Order As Object
Dim Period As Object
Dim Forward As Object
Dim Backward As Object
Dim Intercept As Object
Dim DisplayEquation As Object
Dim DisplayRSquared As Object
Dim Name As Object
Dim returnValue As Trendline
returnValue = instance.Add(Type, Order, _
Period, Forward, Backward, Intercept, _
DisplayEquation, DisplayRSquared, _
Name)
Trendline Add(
XlTrendlineType Type,
Object Order,
Object Period,
Object Forward,
Object Backward,
Object Intercept,
Object DisplayEquation,
Object DisplayRSquared,
Object Name
)
Parameters
- Order
Type: System.Object
- Period
Type: System.Object
- Forward
Type: System.Object
- Backward
Type: System.Object
- Intercept
Type: System.Object
- DisplayEquation
Type: System.Object
- DisplayRSquared
Type: System.Object
- Name
Type: System.Object
Return Value
Type: Microsoft.Office.Interop.Excel.Trendline