IRange.Subtotal Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Subtotal ( _
GroupBy As Integer, _
Function As XlConsolidationFunction, _
TotalList As Object, _
Replace As Object, _
PageBreaks As Object, _
SummaryBelowData As XlSummaryRow _
) As Object
'Usage
Dim instance As IRange
Dim GroupBy As Integer
Dim Function As XlConsolidationFunction
Dim TotalList As Object
Dim Replace As Object
Dim PageBreaks As Object
Dim SummaryBelowData As XlSummaryRow
Dim returnValue As Object
returnValue = instance.Subtotal(GroupBy, _
Function, TotalList, Replace, PageBreaks, _
SummaryBelowData)
Object Subtotal(
int GroupBy,
XlConsolidationFunction Function,
Object TotalList,
Object Replace,
Object PageBreaks,
XlSummaryRow SummaryBelowData
)
Parameters
- GroupBy
Type: System.Int32
- Function
Type: Microsoft.Office.Interop.Excel.XlConsolidationFunction
- TotalList
Type: System.Object
- Replace
Type: System.Object
- PageBreaks
Type: System.Object
- SummaryBelowData
Type: Microsoft.Office.Interop.Excel.XlSummaryRow
Return Value
Type: System.Object