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

Glossary Item Box

InsertSheets Method


See Also    DLL    Example

Applies To

fpSpread control

Description

Inserts a sheet or sheets before the specified sheet.

Syntax

C++

BOOL CSpreadSheet::InsertSheets(short SheetIndex, short SheetCnt);

Visual Basic

fpSpread1.InsertSheets(ByVal SheetIndex As Integer, ByVal SheetCnt As Integer) As Boolean

Parameters

The following parameters are available:

Parameter Description
SheetIndex Sheet index of sheet at which to insert new sheet or sheets
(Value must be greater than 0.)
SheetCount Number of sheets to insert

Remarks

Call the DeleteSheets method to delete sheets. Call the MoveSheets method to move sheets.

Return Type

True if the sheets are inserted successfully; false otherwise.

See Also

Adding Sheets

SheetCount property

DeleteSheets, MoveSheets method

DLL Correspondence

SSInsertSheets function

Copyright © GrapeCity, inc. All rights reserved.