Spread 8.0 Documentation
MoveSheets Method
Support Options
ActiveX Reference > ActiveX Methods > MoveSheets Method

Glossary Item Box

MoveSheets Method


See Also    DLL    Example

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

Moving Data Using Code

DeleteSheets, InsertSheets methods

DLL Correspondence

SSMoveSheets function

Copyright © GrapeCity, inc. All rights reserved.