[]
Removes a sheet (SheetView object) from the collection at the specified index.
public void RemoveAt(int index)
Public Sub RemoveAt(index As Integer)
Type | Name | Description |
---|---|---|
int | index | Zero-based index of the sheet to remove from the collection |
Type | Condition |
---|---|
IndexOutOfRangeException | Specified sheet index is not valid; must be between 0 and the total number of sheets in the collection |