Auto Refresh PivotTable on Data change

S

shill88

I have a Data List on one Worksheet and a PivotTable that is using tha
Data List to retrieve its information. I would like the PivotTable t
automatically update itself as soon as there is a change to the Dat
List. I found something simular to this when I searched for aut
refresh Pivto Table but I could really understand what they were sayin
to do.

Thanks
Shaw
 
D

Debra Dalgleish

You could use an event procedure to refresh the pivot table when its
sheet is activated. For example:

Private Sub Worksheet_Activate()
ActiveSheet.PivotTables(1).PivotCache.Refresh
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top