Removes a sheet (SheetView object) from the collection at the specified index.
Syntax
'Declaration
Public Shadows Sub RemoveAt( _
ByVal As Integer _
)
'Usage
Dim instance As SheetViewCollection
Dim index As Integer
instance.RemoveAt(index)
public new void RemoveAt(
int
)
Parameters
- index
- Zero-based index of the sheet to remove from the collection
Exceptions
Exception | Description |
System.IndexOutOfRangeException | Specified sheet index is not valid; must be between 0 and the total number of sheets in the collection |
See Also