WorksheetCollection.Insert

Insert(int, SheetType)

Insert a worksheet.

public Worksheet Insert(int index, SheetType sheetType)
ParameterTypeDescription
indexInt32The sheet index
sheetTypeSheetTypeThe sheet type.

Return Value

Returns an inserted worksheet.

See Also


Insert(int, SheetType, string)

Insert a worksheet.

public Worksheet Insert(int index, SheetType sheetType, string sheetName)
ParameterTypeDescription
indexInt32The sheet index
sheetTypeSheetTypeThe sheet type.
sheetNameStringThe sheet name.

Return Value

Returns an inserted worksheet.

See Also