<?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: More Dueling Banjos</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2007/05/31/more-dueling-banjos/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2007/05/31/more-dueling-banjos/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 19:28:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: DonX</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/05/31/more-dueling-banjos/#comment-25314</link>
		<dc:creator>DonX</dc:creator>
		<pubDate>Wed, 04 Jul 2007 08:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1677#comment-25314</guid>
		<description>&lt;p&gt;yes, Dick, i did something similar:&lt;br&gt;
button:&lt;/p&gt;
&lt;div style=&quot;overflow: auto; white-space: nowrap;&quot; class=&quot;codecolorer-container vb default&quot;&gt;&lt;div style=&quot;white-space: nowrap;&quot; class=&quot;vb codecolorer&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;Private&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt; CommandButton1_Click()&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt; [a1] = 2 &lt;span class=&quot;kw1&quot;&gt;Then&lt;/span&gt;&lt;br&gt;
[a1] = 1&lt;br&gt;
pasasd&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Else&lt;/span&gt;: [a1] = 2&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt;&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Sub:&lt;/p&gt;
&lt;div style=&quot;overflow: auto; white-space: nowrap;&quot; class=&quot;codecolorer-container vb default&quot;&gt;&lt;div style=&quot;white-space: nowrap;&quot; class=&quot;vb codecolorer&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;sub&lt;/span&gt; pasasd&lt;br&gt;
&lt;span class=&quot;co1&quot;&gt;&#039;&#039;procedure&lt;br&gt;
&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;&#039;before each note&lt;br&gt;
&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt; [a1].Value = 2 &lt;span class=&quot;kw1&quot;&gt;Then&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;GoTo&lt;/span&gt; dug&lt;br&gt;
&lt;span class=&quot;co1&quot;&gt;&#039;&#039;continue procedure&lt;br&gt;
&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;&#039;&lt;br&gt;
&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;&#039;&lt;br&gt;
&lt;/span&gt;dug:&lt;br&gt;
midiOutClose hMidiOut&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;And I start and stop the playing with the button.&lt;br&gt;
Im just curious as to how to hold onto the variables that seem to be destroyed when there&#039;s a runtime error or i hit stop&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>yes, Dick, i did something similar:<br />
button:</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer"><span class="kw1">Private</span> <span class="kw1">Sub</span> CommandButton1_Click()<br />
<span class="kw1">If</span> [a1] = 2 <span class="kw1">Then</span><br />
[a1] = 1<br />
pasasd<br />
<span class="kw1">Else</span>: [a1] = 2<br />
<span class="kw1">End</span> <span class="kw1">If</span><br />
<span class="kw1">End</span> <span class="kw1">Sub</span></div>
</div>
<p>Sub:</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer"><span class="kw1">sub</span> pasasd<br />
<span class="co1">&#8221;procedure<br />
</span><span class="co1">&#8216;before each note<br />
</span><span class="kw1">If</span> [a1].Value = 2 <span class="kw1">Then</span> <span class="kw1">GoTo</span> dug<br />
<span class="co1">&#8221;continue procedure<br />
</span><span class="co1">&#8216;<br />
</span><span class="co1">&#8216;<br />
</span>dug:<br />
midiOutClose hMidiOut<br />
<span class="kw1">End</span> <span class="kw1">Sub</span></div>
</div>
<p>And I start and stop the playing with the button.<br />
Im just curious as to how to hold onto the variables that seem to be destroyed when there&#8217;s a runtime error or i hit stop</p>
]]></content:encoded>
	</item>
</channel>
</rss>

