+ Reply to Thread
Results 1 to 3 of 3

how to get filtered details (Filtered by Cells color, Font color) in VBA

  1. #1
    Registered User
    Join Date
    03-25-2012
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    Excel 2007
    Posts
    12

    Question how to get filtered details (Filtered by Cells color, Font color) in VBA

    Dear Coding experts,
    In Excel, I can filter any column by font color or cell color. Like- In below picture, I have filtered a column by font color. Now I am trying to write a VBA code to find out which column is filtered by which method (Filter by cell color or Filter by Font color).

    can you please help how I can get the details?


    filtered column.png
    Last edited by mohsin.bipu; 11-07-2022 at 08:54 AM.

  2. #2
    Forum Expert
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    365 32bit Win
    Posts
    1,935

    Re: how to get filtered details (Filtered by Cells color, Font color) in VBA

    Does this work for you?

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-25-2012
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: how to get filtered details (Filtered by Cells color, Font color) in VBA

    hello Bytemarks, Thanks for your code. your code is give me whether any range is filtered by font color or Cell background and Column Name (like C column, D column). But this is not giving me by which color, sheet is filtered. I need the color name also. Like I need to get RGB value/color name also. Please help on this. Thanks in advance.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA to copy same cell font color from a filtered list, pasted onto different cells?
    By beginner21 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-25-2021, 04:55 PM
  2. change cell color only if that cells font color is black and it's value is < 2000
    By randall78 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-05-2019, 05:23 PM
  3. Replies: 2
    Last Post: 02-04-2013, 02:00 PM
  4. [SOLVED] Referencing Visible Cells Only: Filtered Alternating Cell Color
    By m.r.quinton in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-13-2012, 04:03 PM
  5. Apply color code to only 3 columns of filtered range
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-08-2009, 11:10 AM
  6. Counting Conditional Filtered (By Color) Cells
    By carl in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-07-2006, 07:10 PM
  7. Subtotalling Auto Filtered Cells Dependant on Cell Color
    By goggle0 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-11-2005, 10:04 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1