Pivot / general chart formatting question



Hi

I'm writing some code to preserve the formatting of a couple of pivot charts
(one stacked bar and one pie) using Excel XP.

I found reference to the fact formatting is reset when the pivot is
recalculated etc.
(http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q215904), not a
very usefull article by the way. Just tells us to write some code. Anyway...

I am able to reference and format various series by name in the bar charts,
but in the pie chart, if I record a macro the fomatting is associated with a
point within the series.

I need to be able to reference the points by name, preferably without having
to refer to the data lable property as the user may opt to switch off the
data lables. Referencing them by index value is no good as the index may
change if filters are applied / removed form the pivot. Put simply, how can
I preserve formatting in a pie pivot chart when filters are applied or
removed? MS suggest recording and replaying a macro of the original
formatting but this doesn't work where filters are applied etc. as it used
indexes.

Anyone know if this is possible or is there a simpler / better way?

Thanks very much

Mark







.



Relevant Pages

  • Re: Themes dont work in converted Word doc; PLEASE HELP
    ... Themes are indirect formatting options that sit beside a document, and which you can reference in your document when applying formatting to Styles or direct to text. ... go to the Developer tab on the Ribbon and click on the Document Template button. ... "David M" wrote in message ...
    (microsoft.public.word.docmanagement)
  • Re: Selection.Cells vs Range reference - strange behaviour (using
    ... but it would seem that it expects a cellreference. ... I have a series of subs for formatting text along the lines of the ... .Pattern = xlSolid ... The purpose of the above is simply to provide a 'key' - the formatting ...
    (microsoft.public.excel.programming)
  • Re: Footnote formatting problem
    ... Are the reference numbers in the text formatted in Footnote Reference style? ... the formatting toolbar has a dropdown menu that changes ... See these links re WordPerfect vs. ...
    (microsoft.public.word.docmanagement)
  • Re: Footnote formatting problem
    ... Are the reference numbers in the text formatted in Footnote Reference style? ... the formatting toolbar has a dropdown menu that changes ... See these links re WordPerfect vs. ...
    (microsoft.public.word.docmanagement)
  • Re: change automatically the style/format of my references on bookmarks.
    ... the formatting will be removed when the fields are updated. ... Word MVP FAQ site: http://word.mvps.org ... reference, ... like theses references to look like hyperlinks. ...
    (microsoft.public.word.newusers)