InsertSheets Method
Applies To
fpSpread control
Description
Inserts a sheet or sheets before the specified sheet.
Syntax
C++
BOOL CSpreadSheet::InsertSheets(short SheetIndex, short SheetCnt);
Visual Basic
fpSpread1.InsertSheets(ByVal SheetIndex As Integer, ByVal SheetCnt As Integer) As Boolean
Parameters
The following parameters are available:
Parameter | Description |
---|---|
SheetIndex | Sheet index of sheet at which to insert new sheet or sheets (Value must be greater than 0.) |
SheetCount | Number of sheets to insert |
Remarks
Call the DeleteSheets method to delete sheets. Call the MoveSheets method to move sheets.
Return Type
True if the sheets are inserted successfully; false otherwise.
See Also
SheetCount property
DeleteSheets, MoveSheets method
DLL Correspondence
SSInsertSheets function