<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Excel Zoom &#187; Counter</title>
	<atom:link href="http://excelzoom.com/tag/counter/feed/" rel="self" type="application/rss+xml" />
	<link>http://excelzoom.com</link>
	<description>...because it&#039;s more than just a calculator</description>
	<lastBuildDate>Wed, 02 Sep 2009 20:43:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Counter</title>
		<link>http://excelzoom.com/2009/02/counter/</link>
		<comments>http://excelzoom.com/2009/02/counter/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 23:16:57 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Macros]]></category>
		<category><![CDATA[Counter]]></category>

		<guid isPermaLink="false">http://excelzoom.com/?p=17</guid>
		<description><![CDATA[Sometimes it is useful to know how many times a macro has been run. For example, if you run a macro once a week to perform a particular task, but don&#8217;t want it run more than once a week, having a counter might be helpful. Copy all of the code below. Paste it into your [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes it is useful to know how many times a macro has been run. For example, if you run a macro once a week to perform a particular task, but don&#8217;t want it run more than once a week, having a counter might be helpful.</p>
<p>Copy all of the code below. Paste it into your workbook&#8217;s Visual Basic editor, either under a Microsoft Excel Object or Module. You can also add other macro commands after the &#8220;Range(&#8220;A1&#8243;) = macrocount&#8221; line. This will allow you to count how many times those macro commands have been run.</p>
<p>Need help? Use our <a href="http://excelzoom.com/?p=7">nifty guide</a> to help figure out how to install and use your macros.</p>
<p><code><br />
Sub Counter()<br />
'<br />
'MACROS BY EXCELZOOM.COM<br />
'<br />
macrocount = Range("A1") + 1<br />
Range("A1") = macrocount<br />
End Sub<br />
</code></p>
<!-- Easy AdSense V2.61 -->
<!-- Post[count: 2] -->
<div class="ezAdsense adsense adsense-leadout" style="float:left;margin:12px;"><script type="text/javascript"><!--
google_ad_client = "pub-0662082843230645";
/* Excel Zoom Post Bottom468x60, created 5/31/09 */
google_ad_slot = "1891900730";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>]]></content:encoded>
			<wfw:commentRss>http://excelzoom.com/2009/02/counter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
