Inserts one or more new sheets into the current workbook
static int WorkbookInsert( unsigned short type_num = 0 ); |
Type_num specifies the type of sheet to insert. A zero value is treated as a missing argument. 1 indicates a standard worksheet.
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