<?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>Fri, 10 Feb 2012 07:51:10 +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-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>
	<item>
		<title>By: Adam</title>
		<link>http://peltiertech.com/WordPress/count-bold-cells-in-a-range/comment-page-1/#comment-20351</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Fri, 09 Oct 2009 21:55:15 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=721#comment-20351</guid>
		<description>Jon,

I&#039;m having the same problem that Anna had above, namely that I get a response of &quot;#NAME?&quot;

I have followed your link about how to use someone else&#039;s macro, but that doesn&#039;t really apply, as this is a function.

Here&#039;s what I&#039;m doing:

I created the Function, and alt-Q to save it. I then went into a cell, and started to type &quot;=countbold&quot;, and the whole function name appeared for me to select. I selected it, and put in a range, and got the &quot;#NAME?&quot; error.

Any help would be greatly appreciated.

I&#039;m using Excel 2007, if that&#039;s relevant.

Thank you,

ADam</description>
		<content:encoded><![CDATA[<p>Jon,</p>
<p>I&#8217;m having the same problem that Anna had above, namely that I get a response of &#8220;#NAME?&#8221;</p>
<p>I have followed your link about how to use someone else&#8217;s macro, but that doesn&#8217;t really apply, as this is a function.</p>
<p>Here&#8217;s what I&#8217;m doing:</p>
<p>I created the Function, and alt-Q to save it. I then went into a cell, and started to type &#8220;=countbold&#8221;, and the whole function name appeared for me to select. I selected it, and put in a range, and got the &#8220;#NAME?&#8221; error.</p>
<p>Any help would be greatly appreciated.</p>
<p>I&#8217;m using Excel 2007, if that&#8217;s relevant.</p>
<p>Thank you,</p>
<p>ADam</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-13110</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Mon, 13 Apr 2009 18:27:21 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=721#comment-13110</guid>
		<description>Application.Volatile forces a calculation of a UDF whenever the sheet recalculates. It&#039;s not necessary in this formula, since any change or calculation in the cells referenced by the formula will cause recalculation of the UDF anyway. However, changing a format does not invoke a recalculation, so the calculated value will not change if all you are doing is clicking buttons or using a dialog to change formatting. You need to change a value or recalculate the sheet to update the formula result.</description>
		<content:encoded><![CDATA[<p>Application.Volatile forces a calculation of a UDF whenever the sheet recalculates. It&#8217;s not necessary in this formula, since any change or calculation in the cells referenced by the formula will cause recalculation of the UDF anyway. However, changing a format does not invoke a recalculation, so the calculated value will not change if all you are doing is clicking buttons or using a dialog to change formatting. You need to change a value or recalculate the sheet to update the formula result.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

