Function that returns the total number of cells in a range i

jimi143

New Member
Joined
Feb 22, 2002
Messages
6
I have a long range of cells in which the cell text is formatted in different colors. Has anyone created a custom function that can return the number of cells in a range that the text is formatted in a certain color (red, blue, black, etc.)?

Thanks,
Jim
 
Thanks for your help again Nate!

Do you have an example of a workbook_open and ontime procedure combination? Sorry, I am new at this stuff.

Thanks,

Jim
 
Upvote 0

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
I figured it out. I think that Worksheet_SelectionChange works the best.

Thanks for all you help again,

Jim
 
Upvote 0
Hi

I answered this heavly on the old boad with VBA to do just this:

A friend Ivan F Moala edited it to colour of text .. have a look post answet by me and then Ivan, will be in first archive, the original code was by a great friend in Western Australia Dave Hawley http://www.ozgrid.com under vba section.

Credit to he guys who did the real work, have a look at both, ill see if i can find the code as well



_________________
Good Luck
HTH

Rdgs
==========
Jack in the UK

[SIZE=-1][ This Message was edited by: Jack in the UK on 2002-02-24 14:27 ][/SIZE]

I can not find the archives. Can you post a link to it? I could use help on this.
 
Upvote 0

Forum statistics

Threads
1,213,560
Messages
6,114,309
Members
448,564
Latest member
ED38

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top