Created
March 11, 2016 07:40
-
-
Save ah45/6069cfb8fbdad506eb97 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Private Sub Worksheet_Change(ByVal Target As Range) | |
Dim i As Integer | |
Dim p As Integer | |
For i = 1 To Worksheets.Count | |
If (Worksheets(i).Name <> "Data") Then | |
For p = 1 To Worksheets(i).PivotTables.Count | |
Worksheets(i).PivotTables(p).PivotCache.Refresh | |
Next p | |
End If | |
Next i | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment