'Usage Dim instance As WorksheetCollection Dim index As Integer instance.RemoveAt(index)
Parameters
- index
- The zero-based index of the sheet to remove.
'Usage Dim instance As WorksheetCollection Dim index As Integer instance.RemoveAt(index)
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | index is not a valid index in the collection. |
System.NotSupportedException | The collection is read-only. |