WorksheetCollectionInsert Method (Int32, SheetType, String)

Insert a worksheet.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.9.0.0 (20.9)
Syntax
public Worksheet Insert(
	int index,
	SheetType sheetType,
	string sheetName
)

Parameters

index
Type: SystemInt32
The sheet index
sheetType
Type: Aspose.CellsSheetType
The sheet type.
sheetName
Type: SystemString
The sheet name.

Return Value

Type: Worksheet
Returns an inserted worksheet.
See Also