+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    03-07-2010
    Location
    Buena Vista, Virginia
    MS-Off Ver
    Excel 2003
    Posts
    6

    Update data but keep pivot table formatting

    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

  2. #2
    Forums Administrator royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    24,447

    Re: Update data but keep pivot table formatting

    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

  3. #3
    Registered User
    Join Date
    03-07-2010
    Location
    Buena Vista, Virginia
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Update data but keep pivot table formatting

    Thanks royUK. I will let you know how it goes.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0