Counting Formated Cells

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.
 
B

birdismyers

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top