'Declaration
Public Overloads Function Aggregate( _ ByVal aggType As AggregateEnum, _ ByVal rg As CellRange, _ ByVal flags As AggregateFlags _ ) As Double
public double Aggregate( AggregateEnum aggType, CellRange rg, AggregateFlags flags )
Parameters
- aggType
- AggregateEnum value that specifies the type of aggregate to calculate.
- rg
- CellRange object that contains the values to be aggregated.
- flags
- AggregateFlags value that specifies aggregation options.
Return Value
A System.Double that represents the aggregate value.