public override lastIndexOf(item as Worksheet, start as Int = -1) as Int:
Returns the last index containing the worksheet reference.
| Parameter | Description |
|---|---|
item | Worksheet to locate. |
start | Reverse-search position, or -1 to start at the end. |
Matching index, or -1 when absent.
index = workbook.worksheets.lastIndexOf(sheet)