XLL+ Class Library

CXlOper::GetVectorCount

Returns the number of cells in an array

[C++]
USHORT GetVectorCount() 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^16) and will therefore be unreliable.

Requirements

Header: xllplus.h

See Also

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