WorksheetCollection.Remove

WorksheetCollection.Remove method

Removes the worksheet at the specified index of the WorksheetCollection. If the specific sheet is the last sheet,after removes sheet,will add a new sheet to the WorksheetCollection.

public void Remove(int index)
ParameterTypeDescription
indexInt32The zero-based index of the worksheet to remove.

See Also