Parameters
- aggType
- AggregateEnum value that specifies the type of aggregate to calculate.
- level
- Outline level to assign to the new subtotal rows. This parameter allows the creation of multi-level subtotals and affects the display of the outline tree.
- groupFrom
- First column in the range used to detect group breaks.
- groupTo
- Last column in the range used to detect group breaks.
- totalOn
- Column that contains values to be aggregated (usually numeric).
- caption
- Text to insert in the subtotal rows.
- options
- Options to use when calculating the aggregates.