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

I am trying to apply conditional formatting with VBA to cells that already
contain a formula. Basically, if the conditional evaluated was true, a 1 is
put in the cell. Now I want to apply conditional formatting to highlight all
the cells with a 1 to make them stand out more. I've been able to apply the
formatting but it is not reading the cell value as one, assumably because it
contains a formula. If I type over the formula and place a 1 in a cell, the
cell immediately highlights. Is there a way to do this with an existing
formula? I know one can use a formula with a conditional formatting, but
I've had so much trouble getting this formula right, I don't want to insert
it this way.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 691
Default Conditional formatting

I wouldn't give up on Conditional Formatting just because you had
trouble with it. See if this helps you (read the blue print in the box).
http://www.mvps.org/dmcritchie/excel/condfmt.htm

But Conditional Formatting is not going to change the value
in a cell. You can use a worksheet formula on the worksheet
to get a better idea of what you are creating. 1 = True,
everything else is False.
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"FinChase" wrote in message ...
I am trying to apply conditional formatting with VBA to cells that already
contain a formula. Basically, if the conditional evaluated was true, a 1 is
put in the cell. Now I want to apply conditional formatting to highlight all
the cells with a 1 to make them stand out more. I've been able to apply the
formatting but it is not reading the cell value as one, assumably because it
contains a formula. If I type over the formula and place a 1 in a cell, the
cell immediately highlights. Is there a way to do this with an existing
formula? I know one can use a formula with a conditional formatting, but
I've had so much trouble getting this formula right, I don't want to insert
it this way.



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
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 3 January 20th 07 02:02 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 01:27 AM.

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"