Get Last Column In Row
Get the last non-empty column index within a given row.
Overview
Get Last Column In Row is a no-code automation step in the Excel category of AutoFlowRPA. It performs its action in a single step when the workflow reaches it. You can configure 4 parameter(s) to control exactly how it behaves. It is one of 369 commands you can drag into a workflow in the visual builder — no scripting required.
What it does
Get the last non-empty column index within a given 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 | |
| Row (1-based) | number | Required | Example: 1 Supports variables | |
| Store column index in | variable | Required | Example: lastCol |
How to use Get Last Column In Row
- 1
Open AutoFlowRPA and drag the Get Last Column In Row command from the Excel group onto the canvas.
- 2
Set its parameters in the side panel — Get Last Column In Row has 4 configurable field(s).
- 3
Connect it into your workflow and press Run. Everything executes locally on your machine.
Frequently asked questions
What does the Get Last Column In Row command do?
Get the last non-empty column index within a given row.
Which group does the Get Last Column In Row command belong to?
Get Last Column In Row is part of the Excel group. AutoFlowRPA ships with 369+ ready-made commands you can combine without code.
Does the Get Last Column In Row command take any parameters?
Yes — Get Last Column In Row has 4 configurable field(s), all editable in the visual node editor.
More Excel commands
Ready to automate your busywork?
Start your free 30-day trial today. No credit card, no commitment.