XLL+ Class Library (7.0)


Returns the number of cells in an array

long GetVectorCount2( ) const;

Return Value

This function returns the total number of cells contained in an CXlOper.


Use this function with VectorCell() to iterate the cells in a vector.

If the CXlOper is not a vector (i.e. contains more than row and more than column) then the return value may be subject to overflow (because it is greater than 2^32) and will therefore be unreliable.


Header: xllplus.h

See Also

CXlOper Class | CXlOper Methods | CXlOper::VectorCell() | CXlOper::IsVector()