Skip to main content
Version: Current

Get Last Empty Row/Column

Description

The Get Last Empty Row/Column activity identifies the last empty row and last empty column within a worksheet.

This activity is commonly used to determine the final available row or column within a worksheet or a specific range.


Common Capabilities

Process Data Support

info

This activity supports dynamic configuration using variables from the Process Data drawer.

You can bind values from Model Data, Form Data, System Data, Enterprise Variables, and Activity Outputs.

Learn more → Using Process Data


Design-Time Configuration

Workbook Configuration

This activity requires an Excel workbook.

Learn more → Excel Workbook Configuration


Worksheet Selection

This activity operates on a worksheet within the workbook.

Learn more → Excel Worksheet Selection


Range

Optional range used to limit the search area.

Learn more → Worksheet Data Selection

Examples:

  • A1:D100
  • A:A
  • 1:100
  • B2:F50

When not specified, the entire worksheet is evaluated.


Behavior

The activity evaluates the specified range, or the entire worksheet when no range is provided, and returns:

  • The last empty row.
  • The last empty column.

The returned values are zero-based indexes.


Outputs

Row Index

Returns the zero-based index of the last empty row.

Examples:

ValueRow
0First row
1Second row
2Third row

Column Index

Returns the zero-based index of the last empty column.

Examples:

ValueColumn
0A
1B
2C

Wait All Incoming

Execution Control

Controls how this activity behaves when multiple incoming execution paths converge.

Determines whether the activity executes when any incoming path completes, or only after all relevant paths have completed.

Learn more → Execution Control


On Error

Error Handling Strategy

Defines how the workflow behaves if this activity encounters a runtime error.

Supported strategies include Fault, Continue, Suspend, and Retry.

Learn more → Error Handling