For Each cell In Selection
Select Case cell.Value
Case "Brown" : cell.Interior.Colorindex=5
Case "Jones" : cell.Interior.Colorindex= 3
Case "Pearson" : cell.Interior.Colorindex=10
'etc
End Select
Next cell
--
HTH
Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
Hi Nick,
How do you want to relate Search to coloring them by their name.
Your other replies provided suggestions for coloring up to three names.
Beyond that you would have to use a macro http://www.mvps.org/dmcritchie/excel/event.htm#case
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.