Auto filter by background color.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I use the auto filter all the time. I'm looking to highlight, follow ups,
pendings, etc. then be able to use the drop down menu for "all red," "all
blue," etc.

I can't seem to figure out how to do it.
 
You can use a Custom Function to return the InteriorColor of a cell -
and then use this as your AutoFilter Criteria.

Type the following into VBA:

Function InteriorColor(CellColor As Range)
InteriorColor = CellColor.Interior.ColorIndex
End Function

And then in Excel type =InteriorColor(A1)

There is a very nice tutorial on Filters which includes an axample on
your question. Goto
http://www.excelexchange.com/Using Advanced Filter.html

Michael
 
Back
Top