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