ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Pivot Chart Problem when Refreshing (https://www.excelbanter.com/excel-programming/400134-pivot-chart-problem-when-refreshing.html)

Filo

Pivot Chart Problem when Refreshing
 
Hello-
I am having the issue that I would like to customize a Pivot Chart to a more
meaningful chart than the default one, but whenever I refresh the Pivot Table
the Pivot Chart goes back to its original default settings. Is it possible to
have a customized Pivot Chart that remains formatted after refreshing the
pivot table?
Thank you.
Filo

SeanC UK[_2_]

Pivot Chart Problem when Refreshing
 
Hi Filo,

I'm not sure if you can prevent this happening when refreshing, but you
could record a macro whilst you are formatting the Pivot Chart, so that you
have that process in code, and then in the Worksheet Module for the Pivot
Table you can use the Worksheet_PivotTableUpdate Sub to capture when the
Table is refreshed and use it to call the macro you recorded. You will have
to add some code to check that it is a refresh operation, otherwise the macro
will run every time you amend anything in the Pivot Table.

Alternatively you could always run the macro manually when you refresh the
Pivot Table.


Sean.
--
(please remember to click yes if replies you receive are helpful to you)


"Filo" wrote:

Hello-
I am having the issue that I would like to customize a Pivot Chart to a more
meaningful chart than the default one, but whenever I refresh the Pivot Table
the Pivot Chart goes back to its original default settings. Is it possible to
have a customized Pivot Chart that remains formatted after refreshing the
pivot table?
Thank you.
Filo



All times are GMT +1. The time now is 03:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com