WorksheetCollection.IndexOf

WorksheetCollection.IndexOf method

Searches for the specified sheet and returns the zero-based index of the first occurrence within the entire WorksheetCollection.

public int IndexOf(Worksheet sheet)
ParameterTypeDescription
sheetWorksheetThe sheet to locate in the WorksheetCollection.

See Also