Counting Formated Cells

  • Thread starter Thread starter birdismyers
  • Start date Start date
B

birdismyers

Can anyone help me on this?

I am trying to count the number of cells in a row that are highlighted
with yellow.
 
I found the CountByColor tip, but don't know how to enter it into VBA.
Can someone have a look at the included worksheet where I've
highlighted various cells in Row 4, with an attempt to count the
highlighted cells and total them in Cell S4?

If you could put the VBA in the sheet for me as an example for me to
work off, I'd greatly appreciate it.

File Attached: http://www.excelforum.com/attachment.php?postid=325455 (countbycolor help.xls)
 
Back
Top