Returns the maximum legal column number (counting from 0)
static long MaxCol( ); |
The maximum legal column number, counting from 0 as column A.
This is 255 in all versions of Excel up to Excel 11 (Excel 97). For Excel 12 it is 16384.
You can find more information about the limits of array sizes in System Limits.
Header: xllplus.h
CXlRef Class | CXlRef Methods | CXlRef::MaxRow() | System Limits