Auto filter by background color.

I

infinitodd

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.
 
M

michael.a7

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
 

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