<?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: Interactive Charts with Checkboxes and VBA</title>
	<atom:link href="http://peltiertech.com/WordPress/interactive-charts-with-checkboxes-and-vba/feed/" rel="self" type="application/rss+xml" />
	<link>http://peltiertech.com/WordPress/interactive-charts-with-checkboxes-and-vba/</link>
	<description>Peltier Tech Excel Charts and Programming Blog</description>
	<lastBuildDate>Fri, 19 Mar 2010 01:43:04 +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: DaleW</title>
		<link>http://peltiertech.com/WordPress/interactive-charts-with-checkboxes-and-vba/comment-page-1/#comment-17255</link>
		<dc:creator>DaleW</dc:creator>
		<pubDate>Wed, 05 Aug 2009 17:39:02 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1732#comment-17255</guid>
		<description>Jon -  Thank you for providing the &quot;missing manual&quot; on how to make great Excel charts.  This chapter on designing interactive charts -- with or without any VBA code -- was perfect for my main project today.</description>
		<content:encoded><![CDATA[<p>Jon &#8211;  Thank you for providing the &#8220;missing manual&#8221; on how to make great Excel charts.  This chapter on designing interactive charts &#8212; with or without any VBA code &#8212; was perfect for my main project today.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/interactive-charts-with-checkboxes-and-vba/comment-page-1/#comment-16113</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Thu, 09 Jul 2009 18:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1732#comment-16113</guid>
		<description>Lawrence - At first glance, it looks okay.</description>
		<content:encoded><![CDATA[<p>Lawrence &#8211; At first glance, it looks okay.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lawrence</title>
		<link>http://peltiertech.com/WordPress/interactive-charts-with-checkboxes-and-vba/comment-page-1/#comment-16112</link>
		<dc:creator>Lawrence</dc:creator>
		<pubDate>Thu, 09 Jul 2009 18:41:22 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1732#comment-16112</guid>
		<description>Jon,

Everything is now working perfectly.  YAY!!!

My only question is whether the code that I changed slightly makes for &quot;good code&quot;.  I simply deleted the text &quot;ActiveSheet.&quot; from before the Range stuff in the 3rd row:

Sub Chart5HideSeriesCheckbox()
    Dim rCell As Range
    For Each rCell In Range(&quot;Chart5TrueFalseSeriesRange&quot;).Cells
        rCell.EntireRow.Hidden = Not rCell.Value
    Next
End Sub

Will that change result in problems down the road?

Lawrence</description>
		<content:encoded><![CDATA[<p>Jon,</p>
<p>Everything is now working perfectly.  YAY!!!</p>
<p>My only question is whether the code that I changed slightly makes for &#8220;good code&#8221;.  I simply deleted the text &#8220;ActiveSheet.&#8221; from before the Range stuff in the 3rd row:</p>
<p>Sub Chart5HideSeriesCheckbox()<br />
    Dim rCell As Range<br />
    For Each rCell In Range(&#8220;Chart5TrueFalseSeriesRange&#8221;).Cells<br />
        rCell.EntireRow.Hidden = Not rCell.Value<br />
    Next<br />
End Sub</p>
<p>Will that change result in problems down the road?</p>
<p>Lawrence</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/interactive-charts-with-checkboxes-and-vba/comment-page-1/#comment-16109</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Thu, 09 Jul 2009 16:59:23 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1732#comment-16109</guid>
		<description>Lawrence -

It will work as long as you can keep track of which button is where, that its event code is on the module behind this sheet, and the code that does the hiding hides the proper ranges on the proper sheet.</description>
		<content:encoded><![CDATA[<p>Lawrence -</p>
<p>It will work as long as you can keep track of which button is where, that its event code is on the module behind this sheet, and the code that does the hiding hides the proper ranges on the proper sheet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lawrence</title>
		<link>http://peltiertech.com/WordPress/interactive-charts-with-checkboxes-and-vba/comment-page-1/#comment-16107</link>
		<dc:creator>Lawrence</dc:creator>
		<pubDate>Thu, 09 Jul 2009 16:18:28 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1732#comment-16107</guid>
		<description>SUCCESS!

Thank you.

Now that I have the checkboxes working on the Data worksheet, I will need to move them to the worksheet where the chart will be moved to.  Will the checkboxes be able to reveal/hide rows on the &quot;Data&quot; worksheet if they are located on the &quot;Dashboard&quot; worksheet?  I tried it after I moved the code to the Dashboard tab; the linked cell works on the Data tab, but the row will not hide.  Does that have something to do with the part Module1 code that says ActiveSheet?  If so, do I simply replace that word with &quot;Dashboard&quot;?

Man, this is so much fun when cool tools like this work so beautifully!

Lawrence</description>
		<content:encoded><![CDATA[<p>SUCCESS!</p>
<p>Thank you.</p>
<p>Now that I have the checkboxes working on the Data worksheet, I will need to move them to the worksheet where the chart will be moved to.  Will the checkboxes be able to reveal/hide rows on the &#8220;Data&#8221; worksheet if they are located on the &#8220;Dashboard&#8221; worksheet?  I tried it after I moved the code to the Dashboard tab; the linked cell works on the Data tab, but the row will not hide.  Does that have something to do with the part Module1 code that says ActiveSheet?  If so, do I simply replace that word with &#8220;Dashboard&#8221;?</p>
<p>Man, this is so much fun when cool tools like this work so beautifully!</p>
<p>Lawrence</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/interactive-charts-with-checkboxes-and-vba/comment-page-1/#comment-16105</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Thu, 09 Jul 2009 15:51:58 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1732#comment-16105</guid>
		<description>The error indicates that it can&#039;t find Chart5HideSeriesCheckbox(), or that there is some other kind of syntax error involved. Remove &quot;()&quot; from the line that calls the sub, so all that appears is the name of the sub.</description>
		<content:encoded><![CDATA[<p>The error indicates that it can&#8217;t find Chart5HideSeriesCheckbox(), or that there is some other kind of syntax error involved. Remove &#8220;()&#8221; from the line that calls the sub, so all that appears is the name of the sub.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lawrence</title>
		<link>http://peltiertech.com/WordPress/interactive-charts-with-checkboxes-and-vba/comment-page-1/#comment-16103</link>
		<dc:creator>Lawrence</dc:creator>
		<pubDate>Thu, 09 Jul 2009 15:26:01 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1732#comment-16103</guid>
		<description>Jon,

When I click on the checkbox1 and I get the error, it opens up the VB Editor and the second line of the macro is highlighted, Chart5HideSeriesCheckbox().

The whole macro in Sheet3(Data) is 3 lines:

Private Sub CheckBox1_Click()
    Chart5HideSeriesCheckbox()
End Sub


The macro in Module 1 is unchanged from the comment above.

Lawrence</description>
		<content:encoded><![CDATA[<p>Jon,</p>
<p>When I click on the checkbox1 and I get the error, it opens up the VB Editor and the second line of the macro is highlighted, Chart5HideSeriesCheckbox().</p>
<p>The whole macro in Sheet3(Data) is 3 lines:</p>
<p>Private Sub CheckBox1_Click()<br />
    Chart5HideSeriesCheckbox()<br />
End Sub</p>
<p>The macro in Module 1 is unchanged from the comment above.</p>
<p>Lawrence</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/interactive-charts-with-checkboxes-and-vba/comment-page-1/#comment-16065</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Thu, 09 Jul 2009 03:29:02 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1732#comment-16065</guid>
		<description>Lawrence - What is highlighted in the code module?</description>
		<content:encoded><![CDATA[<p>Lawrence &#8211; What is highlighted in the code module?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lawrence</title>
		<link>http://peltiertech.com/WordPress/interactive-charts-with-checkboxes-and-vba/comment-page-1/#comment-16051</link>
		<dc:creator>Lawrence</dc:creator>
		<pubDate>Wed, 08 Jul 2009 21:56:10 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1732#comment-16051</guid>
		<description>Jon,

I entered the code as instructed and when I click on the checkbox I get &quot;Compile error: Syntax error&quot;.

The original code is located in Module1 and the new code to fire the macro is located in parent worksheet in the VB Editor called Sheet 3 (Data).

Lawrence</description>
		<content:encoded><![CDATA[<p>Jon,</p>
<p>I entered the code as instructed and when I click on the checkbox I get &#8220;Compile error: Syntax error&#8221;.</p>
<p>The original code is located in Module1 and the new code to fire the macro is located in parent worksheet in the VB Editor called Sheet 3 (Data).</p>
<p>Lawrence</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/interactive-charts-with-checkboxes-and-vba/comment-page-1/#comment-16047</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Wed, 08 Jul 2009 21:04:21 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1732#comment-16047</guid>
		<description>Lawrence -

You need to tell the checkbox event code to run your procedure. In design mode, right click on a checkbox and select View Code. This creates an event procedure stub in the code module of the parent worksheet that will fire when the checkbox is clicked. Insert the procedure in this stub (as follows) so the click will run the code.

Private Sub CheckBox1_Click()
  Chart5HideSeriesCheckbox
End Sub</description>
		<content:encoded><![CDATA[<p>Lawrence -</p>
<p>You need to tell the checkbox event code to run your procedure. In design mode, right click on a checkbox and select View Code. This creates an event procedure stub in the code module of the parent worksheet that will fire when the checkbox is clicked. Insert the procedure in this stub (as follows) so the click will run the code.</p>
<p>Private Sub CheckBox1_Click()<br />
  Chart5HideSeriesCheckbox<br />
End Sub</p>
]]></content:encoded>
	</item>
</channel>
</rss>
