public override indexOf(item as Worksheet, start as Int = 0) as Int:
Returns the first index containing the worksheet reference.
| Parameter | Description |
|---|---|
item | Worksheet to locate. |
start | Zero-based position where the search starts. |
Matching index, or -1 when absent.
index = workbook.worksheets.indexOf(sheet)