ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Auto filter by background color. (https://www.excelbanter.com/new-users-excel/80664-auto-filter-background-color.html)

infinitodd

Auto filter by background color.
 
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.

Bob Phillips

Auto filter by background color.
 
It's not easy. Ron de Bruin has developed an addin. Check it out at
http://www.rondebruin.nl/easyfilter.htm, bottom of the page.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"infinitodd" wrote in message
...
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.




michael.a7

Auto filter by background color.
 

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%2...%20Filter.html

Michael


--
michael.a7
------------------------------------------------------------------------
michael.a7's Profile: http://www.excelforum.com/member.php...o&userid=33027
View this thread: http://www.excelforum.com/showthread...hreadid=528341



All times are GMT +1. The time now is 06:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com