Equivalent to choosing the Cut command from the Edit menu
static int Cut( const CXlOper& from_reference = CXlOper::MissingArg(), const CXlOper& to_reference = CXlOper::MissingArg() ); |
From_reference is a reference to the cell or range of cells you want to cut. If from_reference is omitted, it is assumed to be the current selection.
To_reference is a reference to the cell or range of cells where you want to paste what you have copied.
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.
See the Microsoft Excel on-line Help for full details about this function.
Header: xlfuncs.h