SSMoveSheets Function
Applies To
fpSpread DLL control
Description
Moves the specified sheets to the specified destination.
Syntax
C
BOOL SSMoveSheets(HWND hWnd, short nSheetSrc, short nSheetCnt, short nSheetDest);
C++
BOOL TSpread::MoveSheets(short nSheetSrc, short nSheetCnt, short nSheetDest);
Parameters
The following parameters are available:
Parameter | Description |
---|---|
hWnd | Window handle of the fpSpread control |
nSheetSrc | Sheet index of first sheet to move |
nSheetCnt | Number of sheets to move |
nSheetDest | Destination sheet before which to paste the sheet or sheets |
Remarks
To insert sheets, call the SSInsertSheets function. To delete sheets, call the SSDeleteSheets function.
Return Value
TRUE if the function completes successfully; FALSE otherwise.
See Also
SSDeleteSheets, SSInsertSheets, SSResetSheet functions
ActiveX Correspondence
MoveSheets method