XLL+ Class Library (6.3)

CXlMacros::WorkbookInsert

Inserts one or more new sheets into the current workbook

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