I created a pivot table from a worksheet using the pivot table wizard. During Step2 of the process I extended the range beyond the rows I had. Once the wizard was finished I selected the pivot table, then using the downward arrows by the pivot table headers I hid the blanks. After that I formatted the table with fonts and colors.
After I collected new data I returned to the workbook and deleted the old data from the worksheet that the pivot table was linked to and in its place I pasted the new data. The only thing I didn’t replace from the source data worksheet was the headers. After the new data was entered I returned to the pivot table, right clicked on it, and selected refresh data.
The pivot table data was accurate but the formatting that I had added to the pivot table disappeared.
Is it possible to modify the pivot table settings so that when I refresh data, although the data will change, the formatting (colors, fonts,etc) will remain the same?
Last edited by Racer; 03-10-2010 at 12:59 AM. Reason: SOLVED
Why are you working like this? A Dynamic Named Range is ideal for data source for PivotTables- the range expands as data is added.
Hope that helps.
RoyUK
--------
If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need
For Excel consulting, free examples and tutorials visit Excel Consulting-Excel VBA
Check out the free Excel Toolbar
New members please read & follow the Forum Rules
Remember to mark your questions Solved and rate the answer(s)
Code Tags: Make your code easier for us to read
Thanks royUK. I will let you know how it goes.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks