Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default Conditional Formatting

Hello,
I have some cell which have by default formulas. However the user may change
that and change the formula by a value.
Question : what kind of condition do I need to put on the conditional
formatting to have those modified cellls (no more formula but value) a
different color .?

Many thanks for your help !.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Conditional Formatting

Create a UDF like so

Function IsFormula(rng As Range)
IsFormula = rng.HasFormula
End Function


and then use that in the CF like so

=IsFormula(C2)

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"François" wrote in message
...
Hello,
I have some cell which have by default formulas. However the user may
change
that and change the formula by a value.
Question : what kind of condition do I need to put on the conditional
formatting to have those modified cellls (no more formula but value) a
different color .?

Many thanks for your help !.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default Conditional Formatting

Thanks for the proposition.


"Bob Phillips" wrote:

Create a UDF like so

Function IsFormula(rng As Range)
IsFormula = rng.HasFormula
End Function


and then use that in the CF like so

=IsFormula(C2)

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"François" wrote in message
...
Hello,
I have some cell which have by default formulas. However the user may
change
that and change the formula by a value.
Question : what kind of condition do I need to put on the conditional
formatting to have those modified cellls (no more formula but value) a
different color .?

Many thanks for your help !.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional formatting--different formatting depending on cell con Tammy S. Excel Discussion (Misc queries) 3 March 30th 09 08:11 PM
Formatting cells in a column with conditional formatting? shamor Excel Discussion (Misc queries) 8 May 19th 08 10:11 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


All times are GMT +1. The time now is 09:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"