PivotTable.RefreshName property (Excel)
Returns the name of the person who last refreshed the PivotTable report data. Read-only String.
expression.RefreshName
expression A variable that represents a PivotTable object.
For OLAP data sources, this property is updated after each query.
This example displays the name of the person who last refreshed the PivotTable report.
Set pvtTable = Worksheets("Sheet1").Range("A3").PivotTable
MsgBox "The data was last refreshed by " & pvtTable.RefreshName
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.