Public Function SumArray( _
ByRef vValues As Variant _
) As Variant SumArray(Array(12, 34, 56)) = 102
SumArray(SampleData) = 13354See also: Sum Function
ProductArray Function
Count Function
SUM Function (Microsoft Excel)vValues: Numeric-type array or Variant array containing only numeric elements. This function is NOT affected by the current setting of the StatVarType Property. It assumes that vValues is an array that contains only numeric elements. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.