XLL+ Class Library

CXlMacros::WorkbookInsert

Inserts one or more new sheets into the current workbook

[C++]
static int WorkbookInsert(
   unsigned short type_num = 0
);

Parameters

type_num

Type_num specifies the type of sheet to insert. A zero value is treated as a missing argument. 1 indicates a standard worksheet.

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