WorksheetCollection.Insert

Insert(int, string)

Insert a worksheet.

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

Return Value

Returns an inserted worksheet.

See Also


Insert(int)

Inserts an worksheet into the WorksheetCollection at the specified index. This worksheet row count is 256,column count is 32. The worksheet name will be generated by Add() method.

public void Insert(int index)
ParameterTypeDescription
indexInt32The zero-based index at which worksheet should be inserted.

Return Value

Return Worksheet object is added.

See Also