> For the complete documentation index, see [llms.txt](https://docs.visualyze.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.visualyze.ai/rpa-studio/microsoft-office/excel/range/fill-data-range.md).

# Fill Data Range

Fill the data into an excel sheet.

Fills the given input in all the cells in the specified cell range in an excel sheet.

{% hint style="info" %}
This activity can only be used after the [Open Excel File activity.](/rpa-studio/microsoft-office/excel/open-excel-file.md)
{% endhint %}

### Input

* **Input** : [`ExcelHandle Argument`](/getting-started/rpa-studio/variables.md#excelhandle)![](https://1935494318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M927xRZSEM57y2sBcm3%2Fuploads%2Fgit-blob-20e90e25afa096ee0833e242a7763776d12b4591%2Fimage.png?alt=media)\
  A variable name that references the opened excel filehandle.
* **Sheet Name** : [`String Argument`](/getting-started/rpa-studio/arguments.md#string)![](https://1935494318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M927xRZSEM57y2sBcm3%2Fuploads%2Fgit-blob-20e90e25afa096ee0833e242a7763776d12b4591%2Fimage.png?alt=media)\
  The name of the sheet in which the data is to be filled.
* **Range** : [`String Argument`](/getting-started/rpa-studio/arguments.md#string)![](https://1935494318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M927xRZSEM57y2sBcm3%2Fuploads%2Fgit-blob-20e90e25afa096ee0833e242a7763776d12b4591%2Fimage.png?alt=media)\
  The range of the sheet in which the data is to be filled.

{% hint style="info" %}
If the range is specified as `A1:E10` then the activity will select all cells of the first five columns from rows 1 to 10.&#x20;
{% endhint %}

* **Fill Data** : [`Object Argument`](/getting-started/rpa-studio/arguments.md#object)![](https://1935494318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M927xRZSEM57y2sBcm3%2Fuploads%2Fgit-blob-20e90e25afa096ee0833e242a7763776d12b4591%2Fimage.png?alt=media)\
  Specifies the data that are to be filled in the cells of the specified range.

{% hint style="info" %}
The Fill Data property can have inputs of type Double, String, Int, or DateTime.
{% endhint %}
