SSInsertSheets Function
Applies To
fpSpread DLL control
Description
Inserts a sheet or sheets before the specified sheet.
Syntax
C
BOOL SSInsertSheets(HWND hWnd, short nSheetIndex, short nSheetCnt);
C++
BOOL TSpread::InsertSheets(short nSheetIndex, short nSheetCnt);
Parameters
The following parameters are available:
Parameter | Description |
---|---|
hWnd | Window handle of the fpSpread control |
nSheetIndex | Sheet index of sheet before which to insert new sheet or sheets (Value must be greater than 0.) |
nSheetCnt | Number of sheets to insert |
Remarks
Call the SSDeleteSheets function to delete sheets. Call the SSMoveSheets function to move sheets.
Return Value
TRUE if the function completes successfully; FALSE otherwise.
See Also
SSDeleteSheets, SSGetSheetCount, SSMoveSheets functions
ActiveX Correspondence
InsertSheets method