View Single Post
 
Old 01-30-2015, 01:26 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Windows 7 64bit Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,943
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

You can add a little macro like this via the Worksheet_activate event
Code:
Sub PivotMacro()
 Dim pt As PivotTable      
          Set pt = ActiveSheet.PivotTables("MyPivot")      
                   pt.RefreshTable  
End Sub
which will refresh when ws activated.
Also see that your data source is dynamic ( like a table)
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote