Thursday, December 17, 2020

REFRESH ALL PIVOT TABLE AUTOMATICALLY VBA

 REFRESH ALL PIVOT TABLE

Sub vba_referesh_all_pivots()

Dim pt As PivotTable

For Each pt In ActiveWorkbook.PivotTables

pt.RefreshTable

Next pt

End Sub

ACTIVE GET PIVOT TABLE

Sub activateGetPivotData()

Application.GenerateGetPivotData = True

End Sub

Sub deactivateGetPivotData()

Application.GenerateGetPivotData = False

End Sub

No comments:

Post a Comment

THANKS FOR YOUR SUPPORT

Data copy paste on two another sheet with add row in google sheet by script

 function copyDataWithinWorkbook() {   var sourceSheetName = "Dashbord"; // Replace with the name of the source sheet   var target...