Spread 8.0 Documentation
SSInsertSheets Function
Support Options
DLL Reference > DLL Functions > SSInsertSheets Function

Glossary Item Box

SSInsertSheets Function


See Also    ActiveX    Example

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

Adding Sheets

SSDeleteSheets, SSGetSheetCount, SSMoveSheets functions

ActiveX Correspondence

InsertSheets method

Copyright © GrapeCity, inc. All rights reserved.