XLL+ Class Library (6.3)

CXlMacros::Cut

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()
);

Parameters

from_reference

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

To_reference is a reference to the cell or range of cells where you want to paste what you have copied.

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