UiPath Activities

The UiPath Activities Guide

Autofit Range


Changes the displayed column width and row height in the specified range to the widest entry in each column and the highest entry in each row.

Configuring the Activity

In the Body of the Activity

  • Select a source - Click Plus plus buttonplus button on the right side of the field, select the file, and then select a named range, table, or sheet as the source, or select Indicate in Excel to open the file and select a range directly from the file. To enter a range, table, or sheet manually, select Custom Input. Alternatively, you can select Open in Advanced Editor and enter a VB expression.
  • Columns - If selected, autofit is applied to the columns in the range.
  • Rows - If selected, autofit is applied to the rows in the range.
    By default, both the Columns and Rows options are selected.

In the Properties Panel


  • DisplayName - The name displayed for the activity in the Designer panel.



  • Private - If selected, the data used in the activity is not logged by StudioX.


Updated 5 months ago

Autofit Range

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.