Skip to main content

Refresh Pivot Table

AutomatR.Excel.Activities.RefreshPivotTable

The "Refresh Pivot Table" activity in AutomatR is part of the Excel activities package, designed to refresh a specified pivot table within a workbook. This activity ensures that the pivot table reflects the most up-to-date data, facilitating automation workflows involving dynamic Excel reports.

Properties

NameDescription
Input
Sheet NameEnter the sheet name of the workbook where you want to refresh the pivot table. String variables containing the sheet name.
Table NameEnter the name of the pivot table that you want to refresh. String variables containing the pivot table name.
Misc
Display NameThe display name of the activity. A display name is automatically generated when you indicate a target.
Optional
DelayEnter the wait time in seconds (Example: 5 seconds i.e., 5) to start the activity. Integer variables containing the delay duration.

How to use:

  1. Drag and drop the "Refresh Pivot Table" activity onto the workflow.
  2. Configure the properties by specifying the sheet name and the name of the pivot table to be refreshed.
  3. Optionally, configure the delay.
  4. Execute the workflow to refresh the specified pivot table within the Excel workbook.

Example: Consider an example where the "Refresh Pivot Table" activity is used to refresh a pivot table named "SalesPivotTable" on the sheet named "SalesData" in an Excel workbook:

Refresh Pivot Table:
Sheet Name: "SalesData"
Table Name: "SalesPivotTable"

In this example, the activity refreshes the "SalesPivotTable" on the "SalesData" sheet, ensuring that the pivot table reflects the most recent data.