MoveSheets Method
Applies To
fpSpread control
Description
Moves the specified sheets to the specified destination.
Syntax
C++
BOOL CSpreadSheet::MoveSheets(short SheetSrc, short SheetCnt, short SheetDest);
Visual Basic
fpSpread1.MoveSheets(ByVal SheetSrc As Integer, ByVal SheetCnt As Integer, ByVal SheetDest As Integer) As Boolean
Parameters
The following parameters are available:
Parameter | Description |
---|---|
SheetSrc | Sheet index of first sheet to move |
SheetCnt | Number of sheets to move |
SheetDest | Destination sheet before which to paste the sheet or sheets |
Remarks
To insert sheets, call the InsertSheets method. To delete sheets, call the DeleteSheets method.
Return Type
True if the sheets are moved successfully; false otherwise.
See Also
DeleteSheets, InsertSheets methods
DLL Correspondence
SSMoveSheets function