PC Review


Reply
Thread Tools Rate Thread

Check if Conditional Format is True or False / Check cell Color

 
 
=?Utf-8?B?S2V2aW4gTWNDYXJ0bmV5?=
Guest
Posts: n/a
 
      28th Jun 2007
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
 
Reply With Quote
 
 
 
 
=?Utf-8?B?Ymo=?=
Guest
Posts: n/a
 
      28th Jun 2007
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

 
Reply With Quote
 
Peo Sjoblom
Guest
Posts: n/a
 
      28th Jun 2007
Can't you just use the same criteria as the conditional formatting?


--
Regards,

Peo Sjoblom



"Kevin McCartney" <(E-Mail Removed)> wrote in
message news:20DE1874-0623-4EBC-90C7-(E-Mail Removed)...
> 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



 
Reply With Quote
 
Trevor Shuttleworth
Guest
Posts: n/a
 
      28th Jun 2007
Why don't you just use the conditions in an if formula ?

Regards

Trevor


"Kevin McCartney" <(E-Mail Removed)> wrote in
message news:20DE1874-0623-4EBC-90C7-(E-Mail Removed)...
> 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



 
Reply With Quote
 
Peo Sjoblom
Guest
Posts: n/a
 
      28th Jun 2007
You might want to check this as well

http://www.cpearson.com/excel/CFColors.htm



--
Regards,

Peo Sjoblom




"Peo Sjoblom" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Can't you just use the same criteria as the conditional formatting?
>
>
> --
> Regards,
>
> Peo Sjoblom
>
>
>
> "Kevin McCartney" <(E-Mail Removed)> wrote in
> message news:20DE1874-0623-4EBC-90C7-(E-Mail Removed)...
>> 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

>
>



 
Reply With Quote
 
=?Utf-8?B?S2V2aW4gTWNDYXJ0bmV5?=
Guest
Posts: n/a
 
      29th Jun 2007
I realised that to that I can just use the same formula as an IF statement in
the adjacent cell.

Thanks all.

"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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Code to display a true or false value in the cell containing a check box Dave K Microsoft Excel Programming 1 26th Aug 2010 06:25 PM
True or False for a check box Doug Microsoft Excel Programming 4 16th Dec 2009 09:06 PM
VB help with True/False Check box dsc2bjn Microsoft Access 3 11th Dec 2007 12:26 AM
check box - true/false/na =?Utf-8?B?S2VsbHkgMXN0?= Microsoft Excel Misc 4 13th Jul 2006 12:44 PM
Check box to indicate True or False =?Utf-8?B?RC4gR3JlZW4=?= Microsoft Access Forms 0 21st Feb 2005 06:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:28 AM.