# Fill Data Range

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)![](/files/-MVREnwPf_D3-qJvjjYd)\
  A variable name that references the opened excel filehandle.
* **Sheet Name** : [`String Argument`](/getting-started/rpa-studio/arguments.md#string)![](/files/-MVREnwPf_D3-qJvjjYd)\
  The name of the sheet in which the data is to be filled.
* **Range** : [`String Argument`](/getting-started/rpa-studio/arguments.md#string)![](/files/-MVREnwPf_D3-qJvjjYd)\
  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)![](/files/-MVREnwPf_D3-qJvjjYd)\
  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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.visualyze.ai/rpa-studio/microsoft-office/excel/range/fill-data-range.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
