XLL+ Class Library (6.3)

CXlMacros::Selection

Returns the reference or object identifier of the selection as an external reference

static int Selection(
   CXlOper& xloRef
);

Parameters

xloRef

A reference to a CXlOper that will contain the active cell if the function succeeds.

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