Calculates aggregate statistics for a cell range.
Syntax
'Declaration
Public Overridable Function GetAggregate( _
ByVal As Aggregate, _
ByVal As CellRange _
) As System.Decimal
public virtual System.decimal GetAggregate(
Aggregate ,
CellRange
)
Parameters
- aggregate
- Aggregate value that specifies the type of aggregate to calculate.
- rng
- CellRange object that contains the values to be aggregated.
Return Value
A decimal value that represents the aggregate.
See Also