Saturday 15 November 2014

Refresh the Pivot Table on Button Click

Sub RefreshPivotTable()
ActiveSheet.PivotTables("PivotTable1").PivotCache.Refresh

End Sub

No comments:

Post a Comment