Equivalent to choosing the Paste Special command from the Edit menu
[C++]
static int PasteSpecial(
unsigned short paste_num,
unsigned short operation_num,
bool skip_blanks,
bool transpose
);
Paste_num is a number from 1 to 6 specifying what to paste.
Operation_num is a number from 1 to 5 specifying which operation to perform when pasting.
Skip_blanks is a logical value corresponding to the Skip Blanks check box in the Paste Special dialog box.
Transpose is a logical value corresponding to the Transpose check box in the Paste Special dialog box.
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