<?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: Quick VBA Routine: XY Chart with Axis Titles</title>
	<atom:link href="http://peltiertech.com/WordPress/quick-vba-routine-xy-chart-with-axis-titles/feed/" rel="self" type="application/rss+xml" />
	<link>http://peltiertech.com/WordPress/quick-vba-routine-xy-chart-with-axis-titles/</link>
	<description>Peltier Tech Excel Charts and Programming Blog</description>
	<lastBuildDate>Thu, 11 Mar 2010 22:03:15 +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: Mohammad</title>
		<link>http://peltiertech.com/WordPress/quick-vba-routine-xy-chart-with-axis-titles/comment-page-1/#comment-25616</link>
		<dc:creator>Mohammad</dc:creator>
		<pubDate>Sun, 17 Jan 2010 21:04:14 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/2008/03/06/quick-vba-routine-xy-chart-with-axis-titles/#comment-25616</guid>
		<description>Many thanks

It works for me in excel 2007.the good thing is that the program can be used for many X:Y data arrangement.</description>
		<content:encoded><![CDATA[<p>Many thanks</p>
<p>It works for me in excel 2007.the good thing is that the program can be used for many X:Y data arrangement.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/quick-vba-routine-xy-chart-with-axis-titles/comment-page-1/#comment-25514</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Thu, 14 Jan 2010 14:52:25 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/2008/03/06/quick-vba-routine-xy-chart-with-axis-titles/#comment-25514</guid>
		<description>Mohammad -

That&#039;s one of the data layouts that my &lt;a href=&quot;http://peltiertech.com/Excel/ChartsHowTo/QuickChartUtility.html&quot; title=&quot;Quick Excel XY Chart Utility&quot; rel=&quot;nofollow&quot;&gt;Quick Excel XY Chart Utility&lt;/a&gt; can handle. It&#039;s called X-X-Y-Y and it&#039;s 4th from the left in the first row. This will not add the axis titles, but by adding all the series, the ustility will save you more time.

The utility is free and works well up to 2003. I haven&#039;t tried it in 2007 but I don&#039;t think there&#039;s going to be a problem with it.

Let me know how it works.</description>
		<content:encoded><![CDATA[<p>Mohammad -</p>
<p>That&#8217;s one of the data layouts that my <a href="http://peltiertech.com/Excel/ChartsHowTo/QuickChartUtility.html" title="Quick Excel XY Chart Utility" rel="nofollow">Quick Excel XY Chart Utility</a> can handle. It&#8217;s called X-X-Y-Y and it&#8217;s 4th from the left in the first row. This will not add the axis titles, but by adding all the series, the ustility will save you more time.</p>
<p>The utility is free and works well up to 2003. I haven&#8217;t tried it in 2007 but I don&#8217;t think there&#8217;s going to be a problem with it.</p>
<p>Let me know how it works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammad</title>
		<link>http://peltiertech.com/WordPress/quick-vba-routine-xy-chart-with-axis-titles/comment-page-1/#comment-25470</link>
		<dc:creator>Mohammad</dc:creator>
		<pubDate>Wed, 13 Jan 2010 19:07:04 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/2008/03/06/quick-vba-routine-xy-chart-with-axis-titles/#comment-25470</guid>
		<description>Thanks  for your reply.

I have 10 series ,such that for example in first series X are($A$1:$A$10) and Y are(!$K$1:$K$10) and in  second seris X are ($B$1:$B$10) and Y are($L$1:$L$10) and so on.</description>
		<content:encoded><![CDATA[<p>Thanks  for your reply.</p>
<p>I have 10 series ,such that for example in first series X are($A$1:$A$10) and Y are(!$K$1:$K$10) and in  second seris X are ($B$1:$B$10) and Y are($L$1:$L$10) and so on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/quick-vba-routine-xy-chart-with-axis-titles/comment-page-1/#comment-25469</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Wed, 13 Jan 2010 18:36:31 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/2008/03/06/quick-vba-routine-xy-chart-with-axis-titles/#comment-25469</guid>
		<description>Mohammed -

Is the data in rows? Or do you have 10 series, with all ten X ranges first, then all ten Y ranges?</description>
		<content:encoded><![CDATA[<p>Mohammed -</p>
<p>Is the data in rows? Or do you have 10 series, with all ten X ranges first, then all ten Y ranges?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammad</title>
		<link>http://peltiertech.com/WordPress/quick-vba-routine-xy-chart-with-axis-titles/comment-page-1/#comment-25465</link>
		<dc:creator>Mohammad</dc:creator>
		<pubDate>Wed, 13 Jan 2010 18:04:08 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/2008/03/06/quick-vba-routine-xy-chart-with-axis-titles/#comment-25465</guid>
		<description>I am trying to generate the similar graph but I want to select for example first 10 coloumns as X and 10 second coloumns as Y.
please let me know which kind of modification I should do.

Regards</description>
		<content:encoded><![CDATA[<p>I am trying to generate the similar graph but I want to select for example first 10 coloumns as X and 10 second coloumns as Y.<br />
please let me know which kind of modification I should do.</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/quick-vba-routine-xy-chart-with-axis-titles/comment-page-1/#comment-22639</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Mon, 23 Nov 2009 22:31:32 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/2008/03/06/quick-vba-routine-xy-chart-with-axis-titles/#comment-22639</guid>
		<description>Doh! I said the code was smart. I made no such assertions about the &lt;em&gt;coder&lt;/em&gt;!</description>
		<content:encoded><![CDATA[<p>Doh! I said the code was smart. I made no such assertions about the <em>coder</em>!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DaleW</title>
		<link>http://peltiertech.com/WordPress/quick-vba-routine-xy-chart-with-axis-titles/comment-page-1/#comment-22633</link>
		<dc:creator>DaleW</dc:creator>
		<pubDate>Mon, 23 Nov 2009 21:20:16 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/2008/03/06/quick-vba-routine-xy-chart-with-axis-titles/#comment-22633</guid>
		<description>Ok -- that is a handy feature IF someone wants to just select one cell of the range to plot AND go with Excel&#039;s guess at what the entire range should be.

Unfortunately, for the user who has already selected exactly the range to be charted before calling this marco, this bit of intelligence plays dumb and makes one reselect the range.  

I bet you meant to put the following line of code one line later, so it gets executed either way, between instead of before those two END IF statements:

sInitialRange = myInitialRange.Address(True, True)</description>
		<content:encoded><![CDATA[<p>Ok &#8212; that is a handy feature IF someone wants to just select one cell of the range to plot AND go with Excel&#8217;s guess at what the entire range should be.</p>
<p>Unfortunately, for the user who has already selected exactly the range to be charted before calling this marco, this bit of intelligence plays dumb and makes one reselect the range.  </p>
<p>I bet you meant to put the following line of code one line later, so it gets executed either way, between instead of before those two END IF statements:</p>
<p>sInitialRange = myInitialRange.Address(True, True)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/quick-vba-routine-xy-chart-with-axis-titles/comment-page-1/#comment-22627</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Mon, 23 Nov 2009 19:28:29 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/2008/03/06/quick-vba-routine-xy-chart-with-axis-titles/#comment-22627</guid>
		<description>Dale -

Actually that&#039;s a bit of intelligence built into the code. myInitialRange is defined as the selected range, but if this range has only one cell, the code then defines myInitialRange as the current region of the active cell. This is similar to the way the chart wizard determines the range to use for the source data of a chart. It&#039;s usually so much easier to select one cell in a range than to meticulously select the entire range.</description>
		<content:encoded><![CDATA[<p>Dale -</p>
<p>Actually that&#8217;s a bit of intelligence built into the code. myInitialRange is defined as the selected range, but if this range has only one cell, the code then defines myInitialRange as the current region of the active cell. This is similar to the way the chart wizard determines the range to use for the source data of a chart. It&#8217;s usually so much easier to select one cell in a range than to meticulously select the entire range.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DaleW</title>
		<link>http://peltiertech.com/WordPress/quick-vba-routine-xy-chart-with-axis-titles/comment-page-1/#comment-22624</link>
		<dc:creator>DaleW</dc:creator>
		<pubDate>Mon, 23 Nov 2009 17:21:46 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/2008/03/06/quick-vba-routine-xy-chart-with-axis-titles/#comment-22624</guid>
		<description>Jon,

Early in your minimally documented code, I believe the following line contains a typo, as 

    If myInitialRange.Cells.Count = 1 Then

precedes a block of code that seems like it was meant to apply if a useful XY range had been selected, so you probably meant:

   If myInitialRange.Cells.Count &gt; 1 Then

Nice little subroutine, by the way.</description>
		<content:encoded><![CDATA[<p>Jon,</p>
<p>Early in your minimally documented code, I believe the following line contains a typo, as </p>
<p>    If myInitialRange.Cells.Count = 1 Then</p>
<p>precedes a block of code that seems like it was meant to apply if a useful XY range had been selected, so you probably meant:</p>
<p>   If myInitialRange.Cells.Count &gt; 1 Then</p>
<p>Nice little subroutine, by the way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/quick-vba-routine-xy-chart-with-axis-titles/comment-page-1/#comment-6676</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Wed, 10 Dec 2008 12:29:08 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/2008/03/06/quick-vba-routine-xy-chart-with-axis-titles/#comment-6676</guid>
		<description>Matt responded via email instead of posting here. He said:

&lt;em&gt;
If I select a range of cells then the suggested code in the immediate
window returns type Range.  When I select the same range of cells when
asked for a chart range via the input box, then run the immediates
window on ? typename(myDataRange) the type of myDataRange returns type
Nothing, hence I get spat out at &#039;If myDataRange is Nothing Then Exit
Sub&#039;.

If I accept the default data range then I get spat out on the &#039;If
myChtRange Is Nothing Then Exit Sub&#039; as this input box again returns
type nothing.

I have just changed PCs (supposedly within the same standard operating
environment) - are there any VBA references that should be set by
default?&lt;/em&gt;

Matt -

After the &lt;tt class=&quot;tt&quot;&gt;Set MyDataRange =&lt;/tt&gt; statement, insert this code:

&lt;pre class=&quot;vbasmall&quot;&gt;MsgBox &quot;MyDataRange is type &quot; &amp; TypeName(MyDataRange&quot; _
    &amp; vbNewLine &amp; &quot;Error &quot; &amp; Err.Number &amp; &quot;: &quot; &amp; Err.Description&lt;/pre&gt;

&#160;&lt;br /&gt; Similarly, after the &lt;tt class=&quot;tt&quot;&gt;Set MyChtRange =&lt;/tt&gt; statement, insert this code:

&lt;pre class=&quot;vbasmall&quot;&gt;MsgBox &quot;MyDataRange is type &quot; &amp; TypeName(MyChtRange&quot; _
    &amp; vbNewLine &amp; &quot;Error &quot; &amp; Err.Number &amp; &quot;: &quot; &amp; Err.Description&lt;/pre&gt;

&#160;&lt;br /&gt;Then rerun the code, once accepting the default data range, once setting your own, and email me screen shots of the message boxes.</description>
		<content:encoded><![CDATA[<p>Matt responded via email instead of posting here. He said:</p>
<p><em><br />
If I select a range of cells then the suggested code in the immediate<br />
window returns type Range.  When I select the same range of cells when<br />
asked for a chart range via the input box, then run the immediates<br />
window on ? typename(myDataRange) the type of myDataRange returns type<br />
Nothing, hence I get spat out at &#8216;If myDataRange is Nothing Then Exit<br />
Sub&#8217;.</p>
<p>If I accept the default data range then I get spat out on the &#8216;If<br />
myChtRange Is Nothing Then Exit Sub&#8217; as this input box again returns<br />
type nothing.</p>
<p>I have just changed PCs (supposedly within the same standard operating<br />
environment) &#8211; are there any VBA references that should be set by<br />
default?</em></p>
<p>Matt -</p>
<p>After the <tt class="tt">Set MyDataRange =</tt> statement, insert this code:</p>
<pre class="vbasmall">MsgBox "MyDataRange is type " &#038; TypeName(MyDataRange" _
    &#038; vbNewLine &#038; "Error " &#038; Err.Number &#038; ": " &#038; Err.Description</pre>
<p>&nbsp;<br /> Similarly, after the <tt class="tt">Set MyChtRange =</tt> statement, insert this code:</p>
<pre class="vbasmall">MsgBox "MyDataRange is type " &#038; TypeName(MyChtRange" _
    &#038; vbNewLine &#038; "Error " &#038; Err.Number &#038; ": " &#038; Err.Description</pre>
<p>&nbsp;<br />Then rerun the code, once accepting the default data range, once setting your own, and email me screen shots of the message boxes.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
