<?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>PTS Excel Charts and Tutorials Blog</description>
	<lastBuildDate>Sat, 21 Nov 2009 04:01:08 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</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/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>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/quick-vba-routine-xy-chart-with-axis-titles/comment-page-1/#comment-6652</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Tue, 09 Dec 2008 11:29:56 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/2008/03/06/quick-vba-routine-xy-chart-with-axis-titles/#comment-6652</guid>
		<description>When you get this error, go to the VB Editor, open the Immediate Window (Ctrl+G), type in

?typename(selection)

then press Enter and see what the response is. If that doesn&#039;t help, step through the code and see where you are ejected from execution.</description>
		<content:encoded><![CDATA[<p>When you get this error, go to the VB Editor, open the Immediate Window (Ctrl+G), type in</p>
<p>?typename(selection)</p>
<p>then press Enter and see what the response is. If that doesn&#8217;t help, step through the code and see where you are ejected from execution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://peltiertech.com/WordPress/quick-vba-routine-xy-chart-with-axis-titles/comment-page-1/#comment-6648</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Tue, 09 Dec 2008 07:00:34 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/2008/03/06/quick-vba-routine-xy-chart-with-axis-titles/#comment-6648</guid>
		<description>I have just started running into a problem where a selected range is not recognised as a range and so I get spat out on through the isrange...exit sub checks (2003, XP sp2).  Has anyone else had this occur and know a solution?

Thanks
Matt</description>
		<content:encoded><![CDATA[<p>I have just started running into a problem where a selected range is not recognised as a range and so I get spat out on through the isrange&#8230;exit sub checks (2003, XP sp2).  Has anyone else had this occur and know a solution?</p>
<p>Thanks<br />
Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quick VBA Routine: XY Chart with Axis Titles &#124; Quick Work</title>
		<link>http://peltiertech.com/WordPress/quick-vba-routine-xy-chart-with-axis-titles/comment-page-1/#comment-71</link>
		<dc:creator>Quick VBA Routine: XY Chart with Axis Titles &#124; Quick Work</dc:creator>
		<pubDate>Thu, 06 Mar 2008 06:48:59 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/2008/03/06/quick-vba-routine-xy-chart-with-axis-titles/#comment-71</guid>
		<description>[...] admin wrote an interesting post today onHere&#8217;s a quick excerptSomeone asked in the newsgroup how to create an XY chart in Excel that uses the label at the top of the columns of X and Y data for the axis titles. That&#8217;s not built in, but it&#8217;s not hard to do if you know a little VBA. &#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] admin wrote an interesting post today onHere&#8217;s a quick excerptSomeone asked in the newsgroup how to create an XY chart in Excel that uses the label at the top of the columns of X and Y data for the axis titles. That&#8217;s not built in, but it&#8217;s not hard to do if you know a little VBA. &#8230; [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
