# Clear Cell in File

This is a pre-built Action located under the **@Excel Element**. The functionality of this Action in Avo Assure is to clear the content of a specific cell in the Excel sheet based on the row and column numbers provided in the **Input Value** column. The result of this operation is stored in a dynamic variable for further use during test execution.

## Syntax

**Input Value**: `<rowNum>;<ColNum>`&#x20;

| Argument                       | Description                                                                              |
| ------------------------------ | ---------------------------------------------------------------------------------------- |
| <p>\<rowNum><br>(Required)</p> | Provide the row number of the Excel file from which you want to clear the cell value.    |
| <p>\<ColNum><br>(Required)</p> | Provide the column number of the Excel file from which you want to clear the cell value. |

**Output Value**: `<Dynamic Variable>;<Dynamic Variable>(Optional)`&#x20;

| Argument                                          | Description                                                       |
| ------------------------------------------------- | ----------------------------------------------------------------- |
| \<Dynamic Variable>;\<Dynamic Variable>(Optional) | Both dynamic variable stores the status as **True** or **False**. |

### Example: Clearing Specific Cell Content in an Excel File

In this example, we explain how to clear the content of a specific cell in an Excel file using the **Clear Cell in File** action.

* **Action**: Clear Cell in File
* **Input Value**: 5;2
  * The row number (**5**) specifies the row position in the Excel sheet from which the content needs to be cleared.
  * The column number (**2**) specifies the column position within the same sheet. Combined with the row number, these coordinates identify the exact cell (Row 5, Column 2) in the Excel file that will be cleared.
* **Output Value**: {Status}
  * The execution status of the action is stored in this **{Status}** variable with the following possible values:
    * **True**: If the cell is cleared successfully.
    * **False**: If the cell is not cleared successfully.
* **Logical Explanation**: The **Clear Cell in File** action takes the value from the **Input value** column **5;2** and clears the content of the specified cell located at row 5, column 2 in the configured Excel file. The execution status of this operation is stored in the **{Status}** variable as true.

<figure><img src="/files/EDjyEsdQ0njfSK7THp1O" alt=""><figcaption></figcaption></figure>


---

# 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.avoautomation.com/avo-assure/actions/excel/clear-cell-in-file.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.
