XLL+ Class Library

CXlMacros::Insert

Inserts a blank cell or range of cells or pastes cells from the Clipboard into a sheet

[C++]
static int Insert(
   short int shift_num = 0
);

Parameters

shift_num

Shift_num is a number from 1 to 4 specifying which way to shift the cells. A value of zero is treated as a missing argument.

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