public override indexOf(item as Worksheet, start as Long = 0) as Long
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)