Hi,
Anyone know how to update pivot table when new rows/columns are added to its original data without redoing the whole thing again?
Thanks
Hi,
Anyone know how to update pivot table when new rows/columns are added to its original data without redoing the whole thing again?
Thanks
First, create a Dynamic Named Range and use that as your Source for the PT (see link in sig. for info on DNR's)
Then, add a Worksheet_Change event and refresh the PT as and when.
(You need to be careful if your PT has grouping in action)
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
When I add information to a data table linked to a pivot table, I copy the data and insert the rows at the top.
Then simply go to your pivot table and click "refresh".
You can also go to pivot table, options, change data source, and enter new range.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks