Creates a reference to the active cell
[C++]
BOOL GetActiveCell();
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.
This function will create a reference to the currently active cell.
The reference can then be used to access the contents of the cell,
for example with the methods SetValue()
and Coerce().
The function will fail if the address is not found. This function can only be called from macro functions.
It will always fail if called from worksheet functions.
Header: xllplus.h
CXlOper Class
| CXlOper Methods
| CXlOper::SetActiveCell()
| CXlOper::MakeRef()