Get Last Row
Get the index of the last used row.
ExcelExcelGetLastRow
What it does
Get the index of the last used row.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Excel instance | variable | Required | excel | Name that identifies this open workbook. |
| Sheet (blank = active) | string | Optional | Worksheet name; blank uses the active sheet. Supports variables | |
| Store row index in | variable | Required | Example: lastRow |
More Excel commands
Ready to automate your busywork?
Start your free 10-day trial today. No credit card, no commitment.