Dear Sunil,

You can use the following UDF:

This Custom Function can be used to highlight them. Enter the following code
in a standard module. (Alt + F11, then Insert, Module from the top menu)

Function FilterOn(myCell As Range) As Boolean
    On Error Resume Next
    With myCell.Parent.AutoFilter
        With .Filters(myCell.Column - .Range.Column + 1)
            If .On Then FilterOn = True
        End With
    End With
End Function
Then using Conditional Formatting, enter =filteron(*your cell reference*).
(Format, Conditional Formatting, Formula Is).
The above solution and more details can also be found on the following
website:
http://blog.livedoor.jp/andrewe/archives/19415538.html

Please let us know if you need further help.

Regards,
Andy

On Sat, Nov 21, 2009 at 3:57 PM, SSG <sunilsga...@gmail.com> wrote:

> Sir,
>
> Many times, it happens that we apply a filter on one or more columns.
> During the course of our handling and scrolling left-to-right or
> otherwise, we often forget which columns have been filtered.
>
> Is there a good and efficient and clear way of telling or highlighting
> FILTER columns, e.g., if an excel sheet is filtered on columns A, D,
> F, M then these columns headings should get highlighted. The default
> style of showing a small downward arrow and an anchor is not at all an
> impressive one. One has to carefully look at all columns to know where
> is the filter.
>
> Can conditional formating or some formula is there to achieve this?
>
> regards
>
> Sunil - India - 9320923879
>
> --
>
> ----------------------------------------------------------------------------------
> Some important links for excel users:
> 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at
> http://www.excelitems.com
> 2. Excel tutorials at http://www.excel-macros.blogspot.com
> 3. Learn VBA Macros at http://www.vbamacros.blogspot.com
> 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
>
>
> To post to this group, send email to excel-macros@googlegroups.com
> If you find any spam message in the group, please send an email to:
> Ayush Jain  @ jainayus...@gmail.com or
> Ashish Jain @ 26may.1...@gmail.com
> <><><><><><><><><><><><><><><><><><><><><><>
> HELP US GROW !!
>
> We reach over 6,500 subscribers worldwide and receive many nice notes about
> the learning and support from the group. Our goal is to have 10,000
> subscribers by the end of 2009. Let friends and co-workers know they can
> subscribe to group at
> http://groups.google.com/group/excel-macros/subscribe

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com
<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe

Reply via email to