<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Dynamic Chart using Pivot Table and VBA</title>
	<atom:link href="http://peltiertech.com/WordPress/dynamic-chart-using-pivot-table-and-vba/feed/" rel="self" type="application/rss+xml" />
	<link>http://peltiertech.com/WordPress/dynamic-chart-using-pivot-table-and-vba/</link>
	<description>Peltier Tech Excel Charts and Programming Blog</description>
	<lastBuildDate>Fri, 10 Feb 2012 23:37:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Joe</title>
		<link>http://peltiertech.com/WordPress/dynamic-chart-using-pivot-table-and-vba/comment-page-2/#comment-166326</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Wed, 21 Dec 2011 21:17:32 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=62#comment-166326</guid>
		<description>That worked great Jon!  I am pretty new to Access but your tutorial was a very well done walkthrough and got my chart up and running.

The only other fine tuning point I am sticking on is how to get the resultant chart to disregard the Grand Total row name and data (see below).  I was able to cause the chart not to display the Y axis name &quot;Grand Total&quot; but the data portion still displays.

Set rCategories = .Offset(1).Resize(.Rows.Count - 1)

TO

Set rCategories = .Offset(1).Resize(.Rows.Count - 2)

Thanks again.</description>
		<content:encoded><![CDATA[<p>That worked great Jon!  I am pretty new to Access but your tutorial was a very well done walkthrough and got my chart up and running.</p>
<p>The only other fine tuning point I am sticking on is how to get the resultant chart to disregard the Grand Total row name and data (see below).  I was able to cause the chart not to display the Y axis name &#8220;Grand Total&#8221; but the data portion still displays.</p>
<p>Set rCategories = .Offset(1).Resize(.Rows.Count &#8211; 1)</p>
<p>TO</p>
<p>Set rCategories = .Offset(1).Resize(.Rows.Count &#8211; 2)</p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/dynamic-chart-using-pivot-table-and-vba/comment-page-2/#comment-165975</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Tue, 20 Dec 2011 19:32:42 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=62#comment-165975</guid>
		<description>Joe -

If your chart sheet is the activesheet, use this:

Set cht = ActiveChart</description>
		<content:encoded><![CDATA[<p>Joe -</p>
<p>If your chart sheet is the activesheet, use this:</p>
<p>Set cht = ActiveChart</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://peltiertech.com/WordPress/dynamic-chart-using-pivot-table-and-vba/comment-page-1/#comment-165973</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Tue, 20 Dec 2011 19:24:01 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=62#comment-165973</guid>
		<description>So I am pretty confused about how to get this code to work on a chart that is on a Chart Sheet instead of embedded within the same page.  I was able to use Sheets.Select to select the pivot table sheet and then also use the same to select the Chart sheet.  The issue I am running into is that when the code hits

    &#039; Define the Chart
    &#039;Set cht = ActiveSheet.ChartObjects(1).Chart
    Set cht = ActiveSheet.ChartObjects(&quot;chtPivotData&quot;).Chart

I get error 1004
Unable to get the ChartObjects property of the Worksheet class

Thanks in advance for the insight.  Also, if it is related to having a Chart Sheet instead of an embedded chart, please let me know where you might see me having future issues.</description>
		<content:encoded><![CDATA[<p>So I am pretty confused about how to get this code to work on a chart that is on a Chart Sheet instead of embedded within the same page.  I was able to use Sheets.Select to select the pivot table sheet and then also use the same to select the Chart sheet.  The issue I am running into is that when the code hits</p>
<p>    &#8216; Define the Chart<br />
    &#8216;Set cht = ActiveSheet.ChartObjects(1).Chart<br />
    Set cht = ActiveSheet.ChartObjects(&#8220;chtPivotData&#8221;).Chart</p>
<p>I get error 1004<br />
Unable to get the ChartObjects property of the Worksheet class</p>
<p>Thanks in advance for the insight.  Also, if it is related to having a Chart Sheet instead of an embedded chart, please let me know where you might see me having future issues.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Cherrington</title>
		<link>http://peltiertech.com/WordPress/dynamic-chart-using-pivot-table-and-vba/comment-page-1/#comment-146134</link>
		<dc:creator>Dave Cherrington</dc:creator>
		<pubDate>Fri, 21 Oct 2011 13:10:23 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=62#comment-146134</guid>
		<description>I have been struggling with Pivot Charts for a couple of days now.  I followed your instructions and this was really helpful.  Thanks so much!</description>
		<content:encoded><![CDATA[<p>I have been struggling with Pivot Charts for a couple of days now.  I followed your instructions and this was really helpful.  Thanks so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://peltiertech.com/WordPress/dynamic-chart-using-pivot-table-and-vba/comment-page-1/#comment-39133</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Tue, 31 Aug 2010 12:03:06 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=62#comment-39133</guid>
		<description>Hold-on! Sorry forget my last blog entry, please. 
It works now. There was an issue in my coding.
thank you so much and sorry for any confusion!
Joe</description>
		<content:encoded><![CDATA[<p>Hold-on! Sorry forget my last blog entry, please.<br />
It works now. There was an issue in my coding.<br />
thank you so much and sorry for any confusion!<br />
Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://peltiertech.com/WordPress/dynamic-chart-using-pivot-table-and-vba/comment-page-1/#comment-39126</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Tue, 31 Aug 2010 08:30:44 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=62#comment-39126</guid>
		<description>Hello Again,
Actually it appears that as soon as I try to manage multiple pivots and charts in one file I run into same error as described above.
(The code stops at line
.Values = rValues.Columns(iSeries)
The entire message says “Run-time error ‘1004′: Application-defined or object-defined error.”
I get that same message also in following line:
.XValues = rCategories)

If I start from scratch for any new pivot table / chart it works.

Do you probably know any secret to reset (Values and XValues), so I could manage multiple pivot chart updates in one file?

Best Regards,
Joe</description>
		<content:encoded><![CDATA[<p>Hello Again,<br />
Actually it appears that as soon as I try to manage multiple pivots and charts in one file I run into same error as described above.<br />
(The code stops at line<br />
.Values = rValues.Columns(iSeries)<br />
The entire message says “Run-time error ‘1004′: Application-defined or object-defined error.”<br />
I get that same message also in following line:<br />
.XValues = rCategories)</p>
<p>If I start from scratch for any new pivot table / chart it works.</p>
<p>Do you probably know any secret to reset (Values and XValues), so I could manage multiple pivot chart updates in one file?</p>
<p>Best Regards,<br />
Joe</p>
]]></content:encoded>
	</item>
</channel>
</rss>

