<?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: Link Chart Text to a Cell</title>
	<atom:link href="http://peltiertech.com/WordPress/link-chart-text-to-a-cell/feed/" rel="self" type="application/rss+xml" />
	<link>http://peltiertech.com/WordPress/link-chart-text-to-a-cell/</link>
	<description>Peltier Tech Excel Charts and Programming Blog</description>
	<lastBuildDate>Fri, 19 Mar 2010 14:39:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/link-chart-text-to-a-cell/comment-page-1/#comment-22508</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Sat, 21 Nov 2009 03:57:31 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=106#comment-22508</guid>
		<description>Terry -

I don&#039;t think that functions were &lt;em&gt;arbitrarily&lt;/em&gt; disallowed from text element formula links. I think these links were intended to be just that: links. Charts themselves are not responsible for many calculations, other than figuring out positions and sizes of the various chart elements. It is up to the spreadsheet designer to provide the appropriate text in the linked cell, by functions or other means.</description>
		<content:encoded><![CDATA[<p>Terry -</p>
<p>I don&#8217;t think that functions were <em>arbitrarily</em> disallowed from text element formula links. I think these links were intended to be just that: links. Charts themselves are not responsible for many calculations, other than figuring out positions and sizes of the various chart elements. It is up to the spreadsheet designer to provide the appropriate text in the linked cell, by functions or other means.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terry</title>
		<link>http://peltiertech.com/WordPress/link-chart-text-to-a-cell/comment-page-1/#comment-22499</link>
		<dc:creator>Terry</dc:creator>
		<pubDate>Fri, 20 Nov 2009 23:31:01 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=106#comment-22499</guid>
		<description>Hi everyone,

Jon (or anyone else), do you have any feeling on the reason MS decided to arbitrarily disallow use of functions in those text box formulas?

In my particular case at the moment, it&#039;s a pivotchart.
It&#039;s not like it serves to limit the computation that a graph update can require--relative to using an intermediary cell, that is--in fact it should increase it marginally. (If that were the motive, they would&#039;ve also prevented such an obvious work-around by preventing re-evaluation of any cell referenced by a text box in a chart.)

So if it&#039;s not about computation involved in refreshing,... my best guess would be that it&#039;s something about not wanting to deal with some would-be implication of having formula located anywhere but cells. (Or are there already formulas outside cells?)

Any thoughts?</description>
		<content:encoded><![CDATA[<p>Hi everyone,</p>
<p>Jon (or anyone else), do you have any feeling on the reason MS decided to arbitrarily disallow use of functions in those text box formulas?</p>
<p>In my particular case at the moment, it&#8217;s a pivotchart.<br />
It&#8217;s not like it serves to limit the computation that a graph update can require&#8211;relative to using an intermediary cell, that is&#8211;in fact it should increase it marginally. (If that were the motive, they would&#8217;ve also prevented such an obvious work-around by preventing re-evaluation of any cell referenced by a text box in a chart.)</p>
<p>So if it&#8217;s not about computation involved in refreshing,&#8230; my best guess would be that it&#8217;s something about not wanting to deal with some would-be implication of having formula located anywhere but cells. (Or are there already formulas outside cells?)</p>
<p>Any thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marty</title>
		<link>http://peltiertech.com/WordPress/link-chart-text-to-a-cell/comment-page-1/#comment-20547</link>
		<dc:creator>Marty</dc:creator>
		<pubDate>Wed, 14 Oct 2009 14:33:26 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=106#comment-20547</guid>
		<description>Jon,

Worked beautifully.  Thank you very much.  Part of my trouble was that I am using two charts on one chart sheet and Excel won&#039;t let me click on the axis and assign it to a cell.  I can do that if there is a single chart on the chart sheet, but not if I have two chart objects embedded.  Not really sure why that is.

Man, my charts have come a long way since discovering this excellent resource.  Thanks for all you do.  I&#039;m glad that the one person who knows everything about Excel charts is willing to share.</description>
		<content:encoded><![CDATA[<p>Jon,</p>
<p>Worked beautifully.  Thank you very much.  Part of my trouble was that I am using two charts on one chart sheet and Excel won&#8217;t let me click on the axis and assign it to a cell.  I can do that if there is a single chart on the chart sheet, but not if I have two chart objects embedded.  Not really sure why that is.</p>
<p>Man, my charts have come a long way since discovering this excellent resource.  Thanks for all you do.  I&#8217;m glad that the one person who knows everything about Excel charts is willing to share.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/link-chart-text-to-a-cell/comment-page-1/#comment-20516</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Wed, 14 Oct 2009 00:41:28 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=106#comment-20516</guid>
		<description>Marty -

The code only works for shapes. I added the code because the old way of selecting the shape and entering a formula in the formula bar doesn&#039;t work in 2007. The manual way of adding linked labels to other chart text elements works as in 2003.

This code programmatically links the X and Y axis titles to cells:

ActiveChart.Axes(xlCategory).AxisTitle.Text = &quot;=Sheet1!R2C1&quot;
ActiveChart.Axes(xlValue).AxisTitle.Text = &quot;=Sheet1!R2C2&quot;</description>
		<content:encoded><![CDATA[<p>Marty -</p>
<p>The code only works for shapes. I added the code because the old way of selecting the shape and entering a formula in the formula bar doesn&#8217;t work in 2007. The manual way of adding linked labels to other chart text elements works as in 2003.</p>
<p>This code programmatically links the X and Y axis titles to cells:</p>
<p>ActiveChart.Axes(xlCategory).AxisTitle.Text = &#8220;=Sheet1!R2C1&#8243;<br />
ActiveChart.Axes(xlValue).AxisTitle.Text = &#8220;=Sheet1!R2C2&#8243;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marty</title>
		<link>http://peltiertech.com/WordPress/link-chart-text-to-a-cell/comment-page-1/#comment-20509</link>
		<dc:creator>Marty</dc:creator>
		<pubDate>Tue, 13 Oct 2009 22:07:47 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=106#comment-20509</guid>
		<description>I&#039;m not sure if this is a Excel 2007 issue, but the example code works well for text boxes or other created shapes, but doesn&#039;t work if I have an axis label or chart title selected.  Instead, I get a Runtime 438, not supported.

It wouldn&#039;t be too bad if I could record a macro, but I&#039;m using 2007 and it ignores moste verything I do with charts.  What I&#039;m really after is VBA code to set an axis title formula to reference a cell.  Any suggestions?  Impossible?</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure if this is a Excel 2007 issue, but the example code works well for text boxes or other created shapes, but doesn&#8217;t work if I have an axis label or chart title selected.  Instead, I get a Runtime 438, not supported.</p>
<p>It wouldn&#8217;t be too bad if I could record a macro, but I&#8217;m using 2007 and it ignores moste verything I do with charts.  What I&#8217;m really after is VBA code to set an axis title formula to reference a cell.  Any suggestions?  Impossible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rebecca</title>
		<link>http://peltiertech.com/WordPress/link-chart-text-to-a-cell/comment-page-1/#comment-6234</link>
		<dc:creator>Rebecca</dc:creator>
		<pubDate>Wed, 19 Nov 2008 03:41:30 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=106#comment-6234</guid>
		<description>Thank you!  This is exactly what I needed!</description>
		<content:encoded><![CDATA[<p>Thank you!  This is exactly what I needed!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/link-chart-text-to-a-cell/comment-page-1/#comment-5208</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Sat, 18 Oct 2008 13:52:07 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=106#comment-5208</guid>
		<description>2007 makes it a bit harder to add labels accidentally. You have to make sure the text element itself is selected, but the cursor is not seen in the text itself, nor is any of the text selected.

If you have done this and it still isn&#039;t working, I don&#039;t know why, because I haven&#039;t had this problem.</description>
		<content:encoded><![CDATA[<p>2007 makes it a bit harder to add labels accidentally. You have to make sure the text element itself is selected, but the cursor is not seen in the text itself, nor is any of the text selected.</p>
<p>If you have done this and it still isn&#8217;t working, I don&#8217;t know why, because I haven&#8217;t had this problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kathy</title>
		<link>http://peltiertech.com/WordPress/link-chart-text-to-a-cell/comment-page-1/#comment-5165</link>
		<dc:creator>Kathy</dc:creator>
		<pubDate>Sat, 18 Oct 2008 08:18:20 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=106#comment-5165</guid>
		<description>I&#039;ve been using this technique successfully for a while, but I have come across two PCs (Excel 2007) where you can&#039;t do this. Typing = into the chart title etc just displays = and clicking on a cell just deselects the chart. Same chart on another machine (being updated by the same person) works fine. Any ideas?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been using this technique successfully for a while, but I have come across two PCs (Excel 2007) where you can&#8217;t do this. Typing = into the chart title etc just displays = and clicking on a cell just deselects the chart. Same chart on another machine (being updated by the same person) works fine. Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gaetan</title>
		<link>http://peltiertech.com/WordPress/link-chart-text-to-a-cell/comment-page-1/#comment-3007</link>
		<dc:creator>Gaetan</dc:creator>
		<pubDate>Tue, 19 Aug 2008 15:16:48 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=106#comment-3007</guid>
		<description>Jon - 

Thks for your reply

That was of course my first idea, but it happened not to work with names because of an added space at the end... very weird... 
If I well remember, it works well with normal reference (=A1)</description>
		<content:encoded><![CDATA[<p>Jon &#8211; </p>
<p>Thks for your reply</p>
<p>That was of course my first idea, but it happened not to work with names because of an added space at the end&#8230; very weird&#8230;<br />
If I well remember, it works well with normal reference (=A1)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/link-chart-text-to-a-cell/comment-page-1/#comment-3006</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Tue, 19 Aug 2008 15:00:46 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=106#comment-3006</guid>
		<description>Gaetan - 

I don&#039;t know why it works, either, or why the trailing space should matter. Perhaps something as simple as

&lt;pre&gt;shp.DrawingObject.Formula = shp.DrawingObject.Formula
 &lt;/pre&gt;

is all that&#039;s really needed.</description>
		<content:encoded><![CDATA[<p>Gaetan &#8211; </p>
<p>I don&#8217;t know why it works, either, or why the trailing space should matter. Perhaps something as simple as</p>
<pre>shp.DrawingObject.Formula = shp.DrawingObject.Formula
 </pre>
<p>is all that&#8217;s really needed.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
