??(IF, THEN, Highlight cell)??

  • Thread starter Thread starter Nick
  • Start date Start date
N

Nick

Thanx Andy...

Can I search a list of employees and color code them per
thier name? (fill color)

Nick
 
Hi

You can use Conditional Formatting - but that only allows you 3 different
formats. The only other option is to use VBA - which I'm no good at (yet!)

Please keep all correspondence within the original thread.
 
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)
 

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

Back
Top