Consulting

Results 1 to 2 of 2

Thread: Code to show if cell interior colour is red

  1. #1
    VBAX Contributor
    Joined
    Dec 2006
    Posts
    193
    Location

    Code to show if cell interior colour is red

    I need some code that will identify if a cell interior colour is red when a conditionl format is met. ie if in a range "G5:G30" cells "G6" and "G22" are high lighted red because the conditionl format has been met, a mesg box appears to indicate the cells that are red.

    thanks

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    You need to test if the conditions are met which make the cell red. The Interior Colour cannot be used for this purpose.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

Posting Permissions

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