XLL+ Class Library (6.3)

CXlRef::Resize

Resizes a reference to the specified number of rows and columns

BOOL Resize(
   RW12 nRows,
   COL12 nCols
);

Parameters

nRows

Number of rows reference should contain.

nCols

Number of columns reference should contain.

Return Value

Returns TRUE if the function was successful, FALSE if it failed. The function can fail if the resulting address would be out of range.

Remarks

This method resizes the CXlRef to the sizes provided. Left and Top will be unaffected; Right and Bottom will each be changed (to Left + nCols - 1 and Top + nRows - 1 respectively).

Requirements

Header: xllplus.h

See Also

CXlRef Class | CXlRef Methods