XLL+ Class Library

CXlOper::SetActiveCell

Sets the active cell to be the cell referred to by this CXlOper

[C++]
BOOL SetActiveCell() const;

Return value

Returns TRUE if the function was successful, FALSE if it failed. The function can fail if there is no current cell, or if the function cannot be run in Excel at this time.

Remarks

This function can only be called from macro functions. It will always fail if called from worksheet functions.

Requirements

Header: xllplus.h

See Also

CXlOper Class | CXlOper Methods | CXlOper::GetActiveCell() | CXlOper::MakeRef()