Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Changing a PivotChart removes series formatting in Excel


View products that this article applies to.

Symptoms

When you perform any of the following pivot operations in your PivotChart or the underlying PivotTable report, one or more of your data series lose their formatting:
  • You refresh the PivotChart or the underlying PivotTable.
  • You add, remove, or move any fields that you have added to your PivotChart or PivotTable.
  • You show or hide individual items in any PivotChart or PivotTable field.

↑ Back to the top


Cause

When you perform a pivot operation in a PivotChart or the underlying PivotTable report, Microsoft Excel removes, and then adds the data series back to the chart. When this occurs, all formatting that you have applied to the data series in the chart is lost.

↑ Back to the top


Workaround

To work around this problem, you can record a Visual Basic for Applications macro that saves the changes that you make to your PivotChart. Then, you can run the macro to reapply the formatting as necessary.

For more information about how to record a macro in Excel, click Microsoft Excel Help on the Help menu, type Record a macro in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

↑ Back to the top


More information

When you perform a pivot operation in your PivotChart, all of the following settings are lost:
  • Any setting that is available on the following tabs in the Format Data Series dialog box:
    • Patterns
    • Axis
    • Y Error Bars
    • Data Labels
    • Series Order
  • Any setting that is available on the following tabs in the Format Data Point dialog box:
    • Patterns
    • Data Labels
  • Trendlines that you have added to your PivotChart are removed.

↑ Back to the top


Keywords: KB215904, kbprb, kbchart

↑ Back to the top

Article Info
Article ID : 215904
Revision : 8
Created on : 1/24/2007
Published on : 1/24/2007
Exists online : False
Views : 253