# Refresh Excel Data Connections

> `UiPath.Excel.Activities.Business.RefreshDataConnectionsX`

`UiPath.Excel.Activities.Business.RefreshDataConnectionsX`

Gets the latest data by refreshing all sources in an Excel workbook added to the automation. The activity can be used with an Excel file selected for a parent [Use Excel File](https://docs.uipath.com/activities/other/latest/productivity/excel-application-card) activity, an Excel file [connected to the automation](https://docs.uipath.com/studiox/docs/excel-automation#connecting-a-project-to-an-excel-file), or with the Project Notebook.

## Configuring the activity

#### In the body of the activity

* **Workbook** - Select **Plus** on the right side of the field, then, from the menu, select the file reference. Alternatively, you can select **Open in Advanced Editor** and enter a VB expression.

#### Properties panel

**Common**

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

**Input**

* See the options in the body of the activity.

**Misc**

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.
