 




<?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: excel macro formated to highlight current date</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/excel-macro-formated-to-highlight-current-date/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/excel-macro-formated-to-highlight-current-date/</link>
	<description></description>
	<lastBuildDate>Sat, 18 May 2013 20:55:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: bobbeechey</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/excel-macro-formated-to-highlight-current-date/#comment-56691</link>
		<dc:creator>bobbeechey</dc:creator>
		<pubDate>Fri, 26 Sep 2008 06:58:51 +0000</pubDate>
		<guid isPermaLink="false">#comment-56691</guid>
		<description><![CDATA[Labnuke99,
The code is fine except the Operator value should be xlEqual and NOT x1Equal, in other words you used a one where there should be an ell. It took me a while to spot that!!]]></description>
		<content:encoded><![CDATA[<p>Labnuke99,<br />
The code is fine except the Operator value should be xlEqual and NOT x1Equal, in other words you used a one where there should be an ell. It took me a while to spot that!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jlcford</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/excel-macro-formated-to-highlight-current-date/#comment-56647</link>
		<dc:creator>jlcford</dc:creator>
		<pubDate>Wed, 24 Sep 2008 20:50:26 +0000</pubDate>
		<guid isPermaLink="false">#comment-56647</guid>
		<description><![CDATA[Thanks for your response.  I have tried the Today() alone and it does pick up any of the days thats why I added the &quot;DAY&quot; to the statement.  I am currently trying this macro, but am getting an error reading.  Do you have any idea were I am going wrong with my syntax?

&lt;pre&gt;Sub CurrentDate()
With Range(&quot;C5:AG5&quot;)

    .FormatConditions.Add Type:=xlCellValue, Operator:=x1Equal, Formula1:=&quot;=TODAY()&quot;
    .FormatConditions(1).Interior.ColorIndex = 1
End With
        
End Sub&lt;/pre&gt;

VB &amp; and Excel don&#039;t like the &quot;Formula1:=&quot; part of the statement]]></description>
		<content:encoded><![CDATA[<p>Thanks for your response.  I have tried the Today() alone and it does pick up any of the days thats why I added the &#8220;DAY&#8221; to the statement.  I am currently trying this macro, but am getting an error reading.  Do you have any idea were I am going wrong with my syntax?</p>
<pre>Sub CurrentDate()
With Range("C5:AG5")

    .FormatConditions.Add Type:=xlCellValue, Operator:=x1Equal, Formula1:="=TODAY()"
    .FormatConditions(1).Interior.ColorIndex = 1
End With
        
End Sub</pre>
<p>VB &amp; and Excel don&#8217;t like the &#8220;Formula1:=&#8221; part of the statement</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/10 queries in 0.035 seconds using memcached
Object Caching 281/287 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-18 22:04:04 -->