Is there a way to add a field to a spreadsheet displaying the date (or date and time) of the last pivot table refresh?
Is there a way to add a field to a spreadsheet displaying the date (or date and time) of the last pivot table refresh?

This month, every Windows Secrets subscriber can download a one-chapter excerpt of Windows 7: The Missing Manual.Windows 7: The Missing Manual provides valuable information to help you overcome these difficulties in learning a new operating system. Subscribe today to download your free excerpt.
From Version 2002 onwards, Excel has a worksheet event that can help you.
The following code will insert the date and time in A1, when PivotTable1 is refreshed.
Private Sub Worksheet_PivotTableUpdate(ByVal Target As PivotTable)
If Target = PivotTables("PivotTable1") Then [A1] = Now
End Sub
Right click on the sheet tab of the sheet containting th ePivotTable and place that code in the codepane, changing the Cell to receive teh date as required, and the PivotTable name if necessary.
Andrew C
Thanks Andrew. That works great!