I have a column of cells containing text and a macro which counts the number of words within a marked range.
What I'd really like to do is to count only e.g. blue words in all cells within the range and ignore text of other colours.
If a cell contains words of different colours, ColorIndex returns a Null value, since it can't assign a valid value if there is more than one colour present.
Any ideas?
Thanks!
What I'd really like to do is to count only e.g. blue words in all cells within the range and ignore text of other colours.
If a cell contains words of different colours, ColorIndex returns a Null value, since it can't assign a valid value if there is more than one colour present.
Any ideas?
Thanks!