The code here might be what you are referring to
http://www.xldynamic.com/source/xld.ColourCounter.html
--
HTH
Bob Phillips
"Nell Fahey" wrote in message
...
The above function is not set up in Excel. Do I need to set it up or can
I
copy it in?
--
All help appreciated.