XLL+ Class Library (6.3)

CXlOper::GetVectorCount2

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.

Remarks

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.

Requirements

Header: xllplus.h

See Also

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