ExcelTip.com
Account Icon Account Icon Account Icon
ExcelTip.com

Go Back   Excel Help Forum > Microsoft Office Application Help - Excel Help forum > Excel Programming > Excel Charting

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-08-2005, 05:06 PM
Jeff M
Guest
 
Posts: n/a
Keep Pivot Table custom chart type

I'm creating a pivot table custom chart type "Line - Column on 2 Axes". The
chart looks great when I create it. The problem is when the user does
anything to the chart (filters the data, adds a new flield of data, etc.),
the chart changes to where both data series are displayed as bar charts and
the second axis is gone. I can't find an event that fires when they modify
the chart, so I don't know that I can programatically change it back. Is
there a way to keep it from changing in the first place? I'm using Excel 2003.

Thanks!
Reply With Quote
  #2  
Old 04-08-2005, 05:06 PM
Debra Dalgleish
Guest
 
Posts: n/a
Re: Keep Pivot Table custom chart type

Loss of formatting is a known problem with pivot charts. There's
information in the following MSKB article, suggests recording a macro as
you apply the formatting:

Changing a PivotChart Removes Series Formatting
http://support.microsoft.com/?id=215904



Jeff M wrote:
> I'm creating a pivot table custom chart type "Line - Column on 2 Axes". The
> chart looks great when I create it. The problem is when the user does
> anything to the chart (filters the data, adds a new flield of data, etc.),
> the chart changes to where both data series are displayed as bar charts and
> the second axis is gone. I can't find an event that fires when they modify
> the chart, so I don't know that I can programatically change it back. Is
> there a way to keep it from changing in the first place? I'm using Excel 2003.
>
> Thanks!



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

Reply With Quote
  #3  
Old 04-08-2005, 05:06 PM
Jeff M
Guest
 
Posts: n/a
Re: Keep Pivot Table custom chart type

Thanks for the reference. The problem is that I've written an application
that sits on a user's desktop. When the user changes the data, what event is
raised that I can use to kick off the macro?

Thanks!

"Debra Dalgleish" wrote:

> Loss of formatting is a known problem with pivot charts. There's
> information in the following MSKB article, suggests recording a macro as
> you apply the formatting:
>
> Changing a PivotChart Removes Series Formatting
> http://support.microsoft.com/?id=215904
>
>
>
> Jeff M wrote:
> > I'm creating a pivot table custom chart type "Line - Column on 2 Axes". The
> > chart looks great when I create it. The problem is when the user does
> > anything to the chart (filters the data, adds a new flield of data, etc.),
> > the chart changes to where both data series are displayed as bar charts and
> > the second axis is gone. I can't find an event that fires when they modify
> > the chart, so I don't know that I can programatically change it back. Is
> > there a way to keep it from changing in the first place? I'm using Excel 2003.
> >
> > Thanks!

>
>
> --
> Debra Dalgleish
> Excel FAQ, Tips & Book List
> http://www.contextures.com/tiptech.html
>
>

Reply With Quote
  #4  
Old 04-08-2005, 05:06 PM
Debra Dalgleish
Guest
 
Posts: n/a
Re: Keep Pivot Table custom chart type

Assuming the pivot chart is on a chart sheet, you can use the
Chart_Calculate event.


Jeff M wrote:
> Thanks for the reference. The problem is that I've written an application
> that sits on a user's desktop. When the user changes the data, what event is
> raised that I can use to kick off the macro?
>
> Thanks!
>
> "Debra Dalgleish" wrote:
>
>
>>Loss of formatting is a known problem with pivot charts. There's
>>information in the following MSKB article, suggests recording a macro as
>>you apply the formatting:
>>
>>Changing a PivotChart Removes Series Formatting
>> http://support.microsoft.com/?id=215904
>>
>>
>>
>>Jeff M wrote:
>>
>>>I'm creating a pivot table custom chart type "Line - Column on 2 Axes". The
>>>chart looks great when I create it. The problem is when the user does
>>>anything to the chart (filters the data, adds a new flield of data, etc.),
>>>the chart changes to where both data series are displayed as bar charts and
>>>the second axis is gone. I can't find an event that fires when they modify
>>>the chart, so I don't know that I can programatically change it back. Is
>>>there a way to keep it from changing in the first place? I'm using Excel 2003.
>>>
>>>Thanks!

>>
>>
>>--
>>Debra Dalgleish
>>Excel FAQ, Tips & Book List
>>http://www.contextures.com/tiptech.html
>>
>>

>



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

Reply With Quote
Reply

Bookmarks

New topics in Excel Charting


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -4. The time now is 08:46 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0