Get the dimensions of the range from which this add-in function was called
static bool GetCallerDims( size_t& nRows, size_t& nColumns ); static bool GetCallerDims( RW12& nRows, COL12& nColumns ); static BOOL GetCallerDims( USHORT& usRows, USHORT& usColumns ); [Deprecated] |
If the function succeeds this will be set to the number of rows in the range from which this function was called.
If the function succeeds this will be set to the number of columns in the range from which this function was called.
If the function succeeds this will be set to the number of rows in the range from which this function was called. The function will fail if there are more rows in the range can be held in a USHORT variable.
If the function succeeds this will be set to the number of columns in the range from which this function was called.
Returns TRUE if the function was called from a cell range, and sets the values of usRows and usColumns. Returns FALSE if the function was called from a macro.
CXlOper::GetCallerDims() Example
Header: xllplus.h
CXllApp Class | CXllApp Methods | CXlOper::GetCaller | CXlOper::GetDims