title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
PivotTable.RefreshDate property (Excel) |
vbaxl10.chm235090 |
|
|
7c1a29c2-749e-98f8-ae14-eb2fa3ab2bb1 |
05/09/2019 |
medium |
Returns the date on which the PivotTable report was last refreshed. Read-only Date.
expression.RefreshDate
expression A variable that represents a PivotTable object.
For OLAP data sources, this property is updated after each query.
This example displays the date on which the PivotTable report was last refreshed.
Set pvtTable = Worksheets("Sheet1").Range("A3").PivotTable
dateString = Format(pvtTable.RefreshDate, "Long Date")
MsgBox "The data was last refreshed on " & dateString
[!includeSupport and feedback]