XLL+ Class Library

CXlRef::MaxRow

Returns the maximum legal column number (counting from 0)

[C++]
static long MaxRow();

Return value

The maximum legal row number, counting from 0 for the top-most row.

Remarks

This is 16383 in all versions of Excel before 8.0 (Excel 97). For Excel 8.0 upwards it is 65535.

You can find more information about the limits of array sizes in System Limits.

Requirements

Header: xllplus.h

See Also

CXlRef Class | CXlRef Methods | CXlRef::MaxCol() | System Limits