XLL+ Class Library

CXlMacros::Select

Equivalent to selecting cells or changing the active cell

[C++]
static int Select(
   const CXlOper& selection,
   const CXlOper& active_cell = CXlOper::MissingArg()
);

Parameters

selection

Selection is the cell or range of cells you want to select.

active_cell

Active_cell is the cell in selection you want to make the active cell.

Return value

Zero if the function has been called successfully; non-zero if the function could not be called. See Error codes for a list of return values.

Remarks

See the Microsoft Excel on-line Help for full details about this function.

Requirements

Header: xlfuncs.h

See Also

CXlMacros Class | CXlMacros Methods