+ Reply to Thread
Results 1 to 6 of 6

How to find out format condition cell color?

  1. #1
    Forum Contributor
    Join Date
    03-31-2012
    Location
    Hong Kong
    MS-Off Ver
    Excel 2010
    Posts
    140

    How to find out format condition cell color?

    I set format condition in range by tool bar(=if formula is yes then display cell.interior.colorindex=3), but I have no idea how to find out (.address) the red colour cells are displayed in range with VBA? Anyone help me? Thks.

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: How to find out format condition cell color?

    Please Login or Register  to view this content.
    look into this using help in VBA, will explain.
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Forum Contributor
    Join Date
    03-31-2012
    Location
    Hong Kong
    MS-Off Ver
    Excel 2010
    Posts
    140

    Re: How to find out format condition cell color?

    Quote Originally Posted by nathansav View Post
    Please Login or Register  to view this content.
    look into this using help in VBA, will explain.
    In range had set up format condition by tool bar (not VBA), Can I find out the red color be display with VBA?
    OR
    Other method?

  4. #4
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: How to find out format condition cell color?

    Yes, by looking at the format conditions, look at the help file for it, this will explain all you need. So you'll need to set your range, so range("a1:a100000") or what ever your range is.

  5. #5
    Forum Contributor
    Join Date
    03-31-2012
    Location
    Hong Kong
    MS-Off Ver
    Excel 2010
    Posts
    140

    Re: How to find out format condition cell color?

    Quote Originally Posted by nathansav View Post
    Yes, by looking at the format conditions, look at the help file for it, this will explain all you need. So you'll need to set your range, so range("a1:a100000") or what ever your range is.
    Thks for your reference, I had re-writed my code replace to format condition range area without color.

  6. #6
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: How to find out format condition cell color?

    No worries. Glad to be of help.

+ 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. Change a Range's cell background color to that of another cell's cond. format color
    By kamelkid2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-31-2014, 12:57 PM
  2. [SOLVED] Color-format a cell which contains data in a column based on the color of another cell
    By Nit3hawK in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-27-2013, 05:25 PM
  3. Replies: 2
    Last Post: 02-25-2013, 03:36 AM
  4. Format Cell color Using If Condition
    By arv1980 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-12-2008, 04:38 AM
  5. Replies: 0
    Last Post: 02-16-2006, 12:00 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