Calculates aggregate statistics for a cell range.
'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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2