<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Custom PivotChart reverts to standard type when modified</title>
	<link>http://ask.metafilter.com/28198/Custom-PivotChart-reverts-to-standard-type-when-modified/</link>
	<description>Comments on Ask MetaFilter post Custom PivotChart reverts to standard type when modified</description>
	<pubDate>Wed, 30 Nov 2005 18:57:59 -0800</pubDate>
	<lastBuildDate>Wed, 30 Nov 2005 18:57:59 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Custom PivotChart reverts to standard type when modified</title>
		<link>http://ask.metafilter.com/28198/Custom-PivotChart-reverts-to-standard-type-when-modified</link>	
		<description>In Excel 2002 when I create a PivotChart and apply a custom or user-defined chart type (in this instance a 2-axis line chart), the chart type reverts to a standard single-axis line chart whenever I modify one of the PivotFields.  How do I prevent this? &lt;br /&gt;&lt;br /&gt; I&apos;ve changed the default chart type, but it makes no difference.  Currently the solution I&apos;m using is a piece of VBA code in the Calculate event of the chart class module, thusly:&lt;br&gt;
&lt;br&gt;
Private Sub Chart_Calculate()&lt;br&gt;
&lt;br&gt;
    ActiveChart.ApplyCustomType _&lt;br&gt;
        ChartType:=xlUserDefined, _&lt;br&gt;
        TypeName:=&quot;Ritchie&quot;&lt;br&gt;
&lt;br&gt;
End Sub&lt;br&gt;
&lt;br&gt;
The problem is that this scrap of code must be included with each and every chart, and it isn&apos;t very portable: if someone opens the workbook who doesn&apos;t have a custom chart type called &quot;Ritchie&quot; on their workstation the event will raise an error.</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2005:site.28198</guid>
		<pubDate>Wed, 30 Nov 2005 18:40:48 -0800</pubDate>
		<dc:creator>Ritchie</dc:creator>
		
			<category>excel</category>
		
			<category>charts</category>
		
			<category>pivotchart</category>
		
	</item> <item>
		<title>By: willnot</title>
		<link>http://ask.metafilter.com/28198/Custom-PivotChart-reverts-to-standard-type-when-modified#443746</link>	
		<description>In the table options, there&apos;s a checkbox along the lines of reformat or autoformat or something like that (I don&apos;t have access to Excel right now). You want to uncheck that.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.28198-443746</guid>
		<pubDate>Wed, 30 Nov 2005 18:57:59 -0800</pubDate>
		<dc:creator>willnot</dc:creator>
	</item><item>
		<title>By: Chunder</title>
		<link>http://ask.metafilter.com/28198/Custom-PivotChart-reverts-to-standard-type-when-modified#444403</link>	
		<description>Not familiar with the problem, or that version of Excel, but if Willnot&apos;s suggestion doesn&apos;t get you anywhere I&apos;d recommend that you check out &lt;a href=&quot;http://www.mrexcel.com&quot;&gt;Mr Excel&lt;/a&gt; - search through the forum, as someone somewhere has probably already had the same problem and had it resolved there...</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.28198-444403</guid>
		<pubDate>Thu, 01 Dec 2005 11:20:32 -0800</pubDate>
		<dc:creator>Chunder</dc:creator>
	</item><item>
		<title>By: Ritchie</title>
		<link>http://ask.metafilter.com/28198/Custom-PivotChart-reverts-to-standard-type-when-modified#449550</link>	
		<description>I tried &lt;a href=&quot;http://ask.metafilter.com/mefi/28198#443746&quot;&gt;willnot&lt;/a&gt;&apos;s advice to no avail, and headed to Mr Excel as per &lt;a href=&quot;http://ask.metafilter.com/mefi/28198#444403&quot;&gt;Chunder&lt;/a&gt;&apos;s suggestion.&lt;br&gt;
&lt;br&gt;
According to the advice on the forums, the behaviour I&apos;m encountering is &lt;a href=&quot;http://support.microsoft.com/default.aspx?scid=kb;en-us;215904&amp;Product=xlw&quot;&gt;&apos;as designed&apos;&lt;/a&gt; in Excel 2002 and cannot be changed.  The VBA workaround I&apos;m currently using is apparently the standard approach.&lt;br&gt;
&lt;br&gt;
Thanks to both willnot and Chunder for their help!</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.28198-449550</guid>
		<pubDate>Tue, 06 Dec 2005 22:06:46 -0800</pubDate>
		<dc:creator>Ritchie</dc:creator>
	</item>
	</channel>
</rss>
