View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Check if Conditional Format is True or False / Check cell Color

use effectively the same formula as used in ther conditional format in an if
statement

"Kevin McCartney" wrote:

Hi TWIMC

I'm try to set an adjacent cell to show FAILED or PASSED next to a list of
cells when their respective conditional format is activated. I've tried
creating a UDF to look at the cell.interior.colorindex but even when the
conditional formatting is active the cell.interiocolor is equal to xlnone,
therefore is there a way to check if the conditional format condition has
been activated.

Perhaps the cell property FormatConditions may help

TIA
KM