Search by Font Colour

L

lamkelf

Hi all,

I have a spreadsheet that someone updated by changing the font colour
from black to red. Is there a way that I can search cell by font
colour? Thanks a million!
 
J

JLGWhiz

Here is a basic loop to look for red font.
Dim c As Range
For Each c In Range("A1:Z20")
If c.Font.ColorIndex = 3 Then
'Do something
End If
Next
 
D

Dave Peterson

In newer versions of excel, you can search by formatting.

I _think_ it was added in xl2003 (or maybe xl2002????).
 

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