# Fill Rows

This action is used to fill a range of rows with a target formula.

## **Properties**

<figure><img src="https://649489153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSSr3DfBuOYIkk2T9ec%2Fuploads%2FshyOEV2hTsCgLbADM7rR%2Fimage.png?alt=media&#x26;token=fd002445-0e0d-4dd9-831e-369d9857acf1" alt=""><figcaption></figcaption></figure>

### **Input**

* **Excel Document**: File name for the target Excel document.
* **WorkSheet**: The target worksheet name.
* **Cell Range**: The target name.
* **Formula**: The formula to be used when filling the rows.

{% hint style="info" %}
The range needs to be specified as an A1 notation and span a single column. Example "A1:A5".
{% endhint %}

### **Misc**

* **Display Name**: action display name in your implementation project
* **Wait Before**: number milliseconds robot to wait before executing the action.
* **Wait After:** number milliseconds robot to wait until moving to the next action.
* **Abort on Error**: True/False
* **Retry Times**: Specifies the number of times to retry an action if it doesn't end successfully. Default value 0 (no retry); Use -1 if you want to retry indefinitely.&#x20;

## **Use Case**

### **Potential Use Cases**

* Fill rows with a formula to calculate their sum.
* Fill rows with a formula to calculate their division.
* Fill rows with a formula to calculate their subtraction.&#x20;

### **Examples of Using Fill Rows**

**Example**&#x20;

Watch the robot in action:

{% embed url="<https://www.youtube.com/watch?v=EWBVtM6jCTU>" %}

You can check and download the example from here:

{% file src="<https://649489153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSSr3DfBuOYIkk2T9ec%2Fuploads%2FV6dbQsm4OZnXwVchdDKJ%2FFill%20Rows.zip?alt=media&token=95b9d56a-4f45-4679-8dcd-fa3163a8e9cb>" %}
