<?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: Count Bold Cells in a Range</title>
	<atom:link href="http://peltiertech.com/WordPress/count-bold-cells-in-a-range/feed/" rel="self" type="application/rss+xml" />
	<link>http://peltiertech.com/WordPress/count-bold-cells-in-a-range/</link>
	<description>Peltier Tech Excel Charts and Programming Blog</description>
	<lastBuildDate>Tue, 22 May 2012 11:00:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/count-bold-cells-in-a-range/comment-page-1/#comment-195310</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Fri, 16 Mar 2012 14:15:33 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=721#comment-195310</guid>
		<description>Max -

Make sure you didn&#039;t copy any non-printing characters. Try deleting the line and retyping it.</description>
		<content:encoded><![CDATA[<p>Max -</p>
<p>Make sure you didn&#8217;t copy any non-printing characters. Try deleting the line and retyping it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://peltiertech.com/WordPress/count-bold-cells-in-a-range/comment-page-1/#comment-195299</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Fri, 16 Mar 2012 13:55:35 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=721#comment-195299</guid>
		<description>Thank you for this, this is a very helpful tool. However, I receive an error message when I try to do this. In the VBA window, it highlights the first &#039;dim&#039; in the function and says,
&quot;Compile error:
Expected: end of statement&quot;
Can you please tell me what this means and how to fix it? Thanks in advance.
Also, I should add that I have absolutely no idea what I&#039;m doing.</description>
		<content:encoded><![CDATA[<p>Thank you for this, this is a very helpful tool. However, I receive an error message when I try to do this. In the VBA window, it highlights the first &#8216;dim&#8217; in the function and says,<br />
&#8220;Compile error:<br />
Expected: end of statement&#8221;<br />
Can you please tell me what this means and how to fix it? Thanks in advance.<br />
Also, I should add that I have absolutely no idea what I&#8217;m doing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/count-bold-cells-in-a-range/comment-page-1/#comment-25834</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Fri, 22 Jan 2010 16:03:44 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=721#comment-25834</guid>
		<description>Anon - I would be reluctant to tie up the processor like that.</description>
		<content:encoded><![CDATA[<p>Anon &#8211; I would be reluctant to tie up the processor like that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anon</title>
		<link>http://peltiertech.com/WordPress/count-bold-cells-in-a-range/comment-page-1/#comment-25829</link>
		<dc:creator>anon</dc:creator>
		<pubDate>Fri, 22 Jan 2010 14:40:02 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=721#comment-25829</guid>
		<description>what about a query that runs every second to count the formatted stuff.
Would that work?</description>
		<content:encoded><![CDATA[<p>what about a query that runs every second to count the formatted stuff.<br />
Would that work?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/count-bold-cells-in-a-range/comment-page-1/#comment-20365</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Sat, 10 Oct 2009 05:00:49 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=721#comment-20365</guid>
		<description>Adam -

The formatting recognized by VBA is the formatting applied to the cell in the absence of any conditional formatting being turned on. It is possible to write your function so that it also checks the condition, and returns the formatting for that condition. You can either hard code this, or write code to examine the conditions for each cell, and determine which apply, and then extract the formatting, then count the cells.

Did I make it sound complicated? It&#039;s even more complicated than that. I wish I could tell you otherwise.</description>
		<content:encoded><![CDATA[<p>Adam -</p>
<p>The formatting recognized by VBA is the formatting applied to the cell in the absence of any conditional formatting being turned on. It is possible to write your function so that it also checks the condition, and returns the formatting for that condition. You can either hard code this, or write code to examine the conditions for each cell, and determine which apply, and then extract the formatting, then count the cells.</p>
<p>Did I make it sound complicated? It&#8217;s even more complicated than that. I wish I could tell you otherwise.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://peltiertech.com/WordPress/count-bold-cells-in-a-range/comment-page-1/#comment-20357</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Fri, 09 Oct 2009 23:21:29 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=721#comment-20357</guid>
		<description>OK, got this. Evidently Excel will not run User Defined Functions, unless you enable macros, and play with the security a little. I&#039;m over that, and have this working.

However, the function counts cells correctly if they are bold.

But, if I have Conditional Formatting set, that makes a particular cell BOLD because it fits some criteria, that cell will NOT be counted by this function.

Any thoughts?

Thanks,

Adam</description>
		<content:encoded><![CDATA[<p>OK, got this. Evidently Excel will not run User Defined Functions, unless you enable macros, and play with the security a little. I&#8217;m over that, and have this working.</p>
<p>However, the function counts cells correctly if they are bold.</p>
<p>But, if I have Conditional Formatting set, that makes a particular cell BOLD because it fits some criteria, that cell will NOT be counted by this function.</p>
<p>Any thoughts?</p>
<p>Thanks,</p>
<p>Adam</p>
]]></content:encoded>
	</item>
</channel>
</rss>

