<?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: Yet Another Progress Bar</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2007/02/10/yet-another-progress-bar/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2007/02/10/yet-another-progress-bar/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 23:42:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Marie</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/02/10/yet-another-progress-bar/#comment-36159</link>
		<dc:creator>Marie</dc:creator>
		<pubDate>Thu, 20 Nov 2008 16:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1599#comment-36159</guid>
		<description>&lt;p&gt;This worked great for me... I had to show the form modeless though or else it didn&#039;t let my code finish and I needed a DoEvents after the first selection is updated.  The two additions I made to the code were below&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;&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Dim&lt;/span&gt; ufUpdate &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; UUpdate&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Dim&lt;/span&gt; dtTime &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Date&lt;/span&gt;&lt;br&gt;
&#160; &#160; &lt;br&gt;
&#160; &#160; &lt;span class=&quot;co1&quot;&gt;&#039;instantiate the userform&lt;br&gt;
&lt;/span&gt; &#160; &#160;&lt;span class=&quot;kw1&quot;&gt;Set&lt;/span&gt; ufUpdate = &lt;span class=&quot;kw1&quot;&gt;New&lt;/span&gt; UUpdate&lt;br&gt;
&#160; &#160; ufUpdate.lbxStatus.AddItem &lt;span class=&quot;st0&quot;&gt;&quot;Started Process...&quot;&lt;/span&gt;&lt;br&gt;
&#160; &#160; ufUpdate.lbxStatus.AddItem &lt;span class=&quot;st0&quot;&gt;&quot;Refreshed Pivot Table...&quot;&lt;/span&gt;&lt;br&gt;
&#160; &#160; ufUpdate.lbxStatus.AddItem &lt;span class=&quot;st0&quot;&gt;&quot;New Report Created!&quot;&lt;/span&gt;&lt;br&gt;
&#160; &#160; ufUpdate.Show vbModeless&lt;br&gt;
&#160; &#160; &lt;br&gt;
&#160; &#160; &lt;span class=&quot;co1&quot;&gt;&#039;show step as complete&lt;br&gt;
&lt;/span&gt; &#160; &#160;ufUpdate.lbxStatus.Selected(0) = &lt;span class=&quot;kw1&quot;&gt;True&lt;/span&gt;&lt;br&gt;
&#160; &#160; DoEvents&lt;/div&gt;&lt;/div&gt;
</description>
		<content:encoded><![CDATA[<p>This worked great for me&#8230; I had to show the form modeless though or else it didn&#8217;t let my code finish and I needed a DoEvents after the first selection is updated.  The two additions I made to the code were below</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer">&nbsp; &nbsp; <span class="kw1">Dim</span> ufUpdate <span class="kw1">As</span> UUpdate<br />
&nbsp; &nbsp; <span class="kw1">Dim</span> dtTime <span class="kw1">As</span> <span class="kw1">Date</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="co1">&#8216;instantiate the userform<br />
</span> &nbsp; &nbsp;<span class="kw1">Set</span> ufUpdate = <span class="kw1">New</span> UUpdate<br />
&nbsp; &nbsp; ufUpdate.lbxStatus.AddItem <span class="st0">&#8220;Started Process&#8230;&#8221;</span><br />
&nbsp; &nbsp; ufUpdate.lbxStatus.AddItem <span class="st0">&#8220;Refreshed Pivot Table&#8230;&#8221;</span><br />
&nbsp; &nbsp; ufUpdate.lbxStatus.AddItem <span class="st0">&#8220;New Report Created!&#8221;</span><br />
&nbsp; &nbsp; ufUpdate.Show vbModeless<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="co1">&#8216;show step as complete<br />
</span> &nbsp; &nbsp;ufUpdate.lbxStatus.Selected(0) = <span class="kw1">True</span><br />
&nbsp; &nbsp; DoEvents</div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mailme</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/02/10/yet-another-progress-bar/#comment-34745</link>
		<dc:creator>Mailme</dc:creator>
		<pubDate>Wed, 10 Sep 2008 23:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1599#comment-34745</guid>
		<description>&lt;p&gt;Just to add a little more to the above, it shows/works perfectly when I run it in Debug mode.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Just to add a little more to the above, it shows/works perfectly when I run it in Debug mode.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mailme</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/02/10/yet-another-progress-bar/#comment-34744</link>
		<dc:creator>Mailme</dc:creator>
		<pubDate>Wed, 10 Sep 2008 23:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1599#comment-34744</guid>
		<description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for this excellent idea. I am using it in my current work. All works well except that the Progress Bar form is not visible.....it comes in grey mode and stays there as if it is waiting to get repainted.&lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thank you for this excellent idea. I am using it in my current work. All works well except that the Progress Bar form is not visible&#8230;..it comes in grey mode and stays there as if it is waiting to get repainted.</p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Terje Augestad</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/02/10/yet-another-progress-bar/#comment-34081</link>
		<dc:creator>Jan Terje Augestad</dc:creator>
		<pubDate>Wed, 06 Aug 2008 09:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1599#comment-34081</guid>
		<description>&lt;p&gt;Just wanted to thank you for this excellent code. I&#039;m using it in my projects and have also received great feedback on it! :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Just wanted to thank you for this excellent code. I&#8217;m using it in my projects and have also received great feedback on it! <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick Kusleika</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/02/10/yet-another-progress-bar/#comment-29798</link>
		<dc:creator>Dick Kusleika</dc:creator>
		<pubDate>Tue, 08 Jan 2008 15:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1599#comment-29798</guid>
		<description>&lt;p&gt;dion:  It&#039;s a tip from &lt;a href=&quot;http://www.amazon.com/exec/obidos/redirect?link_code=ur2&amp;tag=dailydoseofex-20&amp;camp=1789&amp;creative=9325&amp;path=http://www.amazon.com/gp/product/0321262506?v=glance%26n=283155%26s=books%26v=glance&quot; rel=&quot;nofollow&quot;&gt;Professional Excel Development&lt;/a&gt;.  By using my own variable, I can control when it&#039;s created and destroyed, rather than relying on VBA to do it.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>dion:  It&#8217;s a tip from <a href="http://www.amazon.com/exec/obidos/redirect?link_code=ur2&amp;tag=dailydoseofex-20&amp;camp=1789&amp;creative=9325&amp;path=http://www.amazon.com/gp/product/0321262506?v=glance%26n=283155%26s=books%26v=glance" rel="nofollow">Professional Excel Development</a>.  By using my own variable, I can control when it&#8217;s created and destroyed, rather than relying on VBA to do it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dion</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/02/10/yet-another-progress-bar/#comment-29796</link>
		<dc:creator>dion</dc:creator>
		<pubDate>Tue, 08 Jan 2008 14:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1599#comment-29796</guid>
		<description>&lt;p&gt;This is plain awesome!! Thanks a ton Dick. &lt;/p&gt;
&lt;p&gt;One small question, why did you use &quot;ufUpdate&quot; to hold an instance of the form? Why not just do this - Userform1.lbxStatus.additem = whatever ?&lt;/p&gt;
&lt;p&gt;Dion&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This is plain awesome!! Thanks a ton Dick. </p>
<p>One small question, why did you use &#8220;ufUpdate&#8221; to hold an instance of the form? Why not just do this &#8211; Userform1.lbxStatus.additem = whatever ?</p>
<p>Dion</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Alexander</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/02/10/yet-another-progress-bar/#comment-27788</link>
		<dc:creator>Mike Alexander</dc:creator>
		<pubDate>Sat, 29 Sep 2007 16:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1599#comment-27788</guid>
		<description>&lt;p&gt;A7n9, &lt;/p&gt;
&lt;p&gt;A combination of SetWarnings and Do Events should work for most situations.&lt;br&gt;
For example: &lt;/p&gt;
&lt;p&gt;SetWarnings False&lt;br&gt;
&#039;action 1&lt;br&gt;
Do Events&lt;br&gt;
&#039;action 2&lt;br&gt;
Do Events&lt;br&gt;
&#039;action 3&lt;br&gt;
Do events&lt;br&gt;
SetWarnings True&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>A7n9, </p>
<p>A combination of SetWarnings and Do Events should work for most situations.<br />
For example: </p>
<p>SetWarnings False<br />
&#8216;action 1<br />
Do Events<br />
&#8216;action 2<br />
Do Events<br />
&#8216;action 3<br />
Do events<br />
SetWarnings True</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: a7n9</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/02/10/yet-another-progress-bar/#comment-27740</link>
		<dc:creator>a7n9</dc:creator>
		<pubDate>Thu, 27 Sep 2007 15:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1599#comment-27740</guid>
		<description>&lt;p&gt;Hey Dick,&lt;br&gt;
I tried to replicate the same in Access, and it works. However, I&#039;m turning of the echo and warnings as soon as my process starts, so I&#039;m seeing all the updates after the process has stopped :). Any other solutions to have the warnings off and still show updates? Thanks.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey Dick,<br />
I tried to replicate the same in Access, and it works. However, I&#8217;m turning of the echo and warnings as soon as my process starts, so I&#8217;m seeing all the updates after the process has stopped <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Any other solutions to have the warnings off and still show updates? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hendrik</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/02/10/yet-another-progress-bar/#comment-26653</link>
		<dc:creator>Hendrik</dc:creator>
		<pubDate>Tue, 21 Aug 2007 13:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1599#comment-26653</guid>
		<description>&lt;p&gt;I can&#039;t seem to get this working. Is it Office XP tested?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I can&#8217;t seem to get this working. Is it Office XP tested?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paulvan</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/02/10/yet-another-progress-bar/#comment-26399</link>
		<dc:creator>Paulvan</dc:creator>
		<pubDate>Mon, 13 Aug 2007 13:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1599#comment-26399</guid>
		<description>&lt;p&gt;Internally I record the start and end times of each component in the progress stream and then calculate the duration.  In a db table or a very hidden worksheet if using Excel VBA, I record the times for  last 5 or 10 executions of the each component.  The status window displays the average duration time for each of the components so the user can have a sense for how long each part will take.  Since I run the process many times in test before it goes to the user, they start off with average times on their first use of it.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Internally I record the start and end times of each component in the progress stream and then calculate the duration.  In a db table or a very hidden worksheet if using Excel VBA, I record the times for  last 5 or 10 executions of the each component.  The status window displays the average duration time for each of the components so the user can have a sense for how long each part will take.  Since I run the process many times in test before it goes to the user, they start off with average times on their first use of it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

