A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi,
if you overwrite data in existing source range
everything is okay.
but,
if you add extra data (append data) below
unfortunately, in this occasion you can not update the pivot table.
Only if you convert the range to a table.
and then create a new pivot table.
here..
xxxxxxxxxxxxxxxxxxx
here is a vba macro
to refresh all pivot tbls in active sheet
and remove/delete old items
Sub PT_Refresh_RemoveOldItems()
'Feb 12, 2015
On Error Resume Next
Dim pt As PivotTable
For Each pt In ActiveSheet.PivotTables
pt.PivotCache.MissingItemsLimit = xlMissingItemsNone
pt.PivotCache.Refresh
Next pt
End Sub