Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default change background color of cell as value changes

There is no VBA code in that sheet, nor is the Conditional Formatting applied
to the sheet. Simple review this web site:
http://www.contextures.com/xlCondFormat03.html

Then, apply to your specific needs:


Regards,
Ryan--
--
RyGuy


"S Himmelrich" wrote:

Here is the result I'm looking for in regards to changing color as
cell value changes in a column ("A"):

www.atlantissupport.com/example/example.xls

Basically I'm trying to change the background color of the cell as
the
data changes in Column A. Know that the values in Column A change
dynamically with other macro code that is already completed. Also I
must pre-define enough colors to cover for expansion in the future
(probably no more then twenty). I've kept the duplicates in Column A
thinking that this may help in coding this macro and will delete
those
after the background color is completed. I assume I can use offset
for moving the color to the smaller Column B.
Hope someone can help......

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default change background color of cell as value changes

Sorry to be misleading on that. The example was for purposes of
demonstrating the final result. I'm already in macro mode as far as
the final results of that speadsheet, so conditional formatting is not
what I'm looking for. The referenced website you provided does not
address changing colors as values change so that isn't providing
anymore insight to my challenge. Thank you for effort and response.


On Jan 15, 11:41*am, ryguy7272
wrote:
There is no VBA code in that sheet, nor is the Conditional Formatting applied
to the sheet. *Simple review this web site:http://www.contextures.com/xlCondFormat03.html

Then, apply to your specific needs:

Regards,
Ryan--
--
RyGuy



"S Himmelrich" wrote:
Here is the result I'm looking for in regards to changing color as
cell value changes in a column ("A"):


www.atlantissupport.com/example/example.xls


Basically I'm trying to change the background color of the cell as
the
data changes in Column A. *Know that the values in Column A change
dynamically with other macro code that is already completed. *Also I
must pre-define enough colors to cover for expansion in the future
(probably no more then twenty). *I've kept the duplicates in Column A
thinking that this may help in coding this macro and will delete
those
after the background color is completed. *I assume I can use offset
for moving the color to the smaller Column B.
Hope someone can help......- Hide quoted text -


- Show quoted text -


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default change background color of cell as value changes

You would have to use a change event code in the sheet module to do what you
are describing, if you don't use conditional formatting. To use up to twenty
colors, you would need to set up an algorithm, probably in the form of a case
statement, that would be called if any cell in Col A changes and if the value
of the chage equals one of the cases in the algorithm, the cell color would
change accordingly.

"S Himmelrich" wrote:

Sorry to be misleading on that. The example was for purposes of
demonstrating the final result. I'm already in macro mode as far as
the final results of that speadsheet, so conditional formatting is not
what I'm looking for. The referenced website you provided does not
address changing colors as values change so that isn't providing
anymore insight to my challenge. Thank you for effort and response.


On Jan 15, 11:41 am, ryguy7272
wrote:
There is no VBA code in that sheet, nor is the Conditional Formatting applied
to the sheet. Simple review this web site:http://www.contextures.com/xlCondFormat03.html

Then, apply to your specific needs:

Regards,
Ryan--
--
RyGuy



"S Himmelrich" wrote:
Here is the result I'm looking for in regards to changing color as
cell value changes in a column ("A"):


www.atlantissupport.com/example/example.xls


Basically I'm trying to change the background color of the cell as
the
data changes in Column A. Know that the values in Column A change
dynamically with other macro code that is already completed. Also I
must pre-define enough colors to cover for expansion in the future
(probably no more then twenty). I've kept the duplicates in Column A
thinking that this may help in coding this macro and will delete
those
after the background color is completed. I assume I can use offset
for moving the color to the smaller Column B.
Hope someone can help......- Hide quoted text -


- Show quoted text -



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default change background color of cell as value changes

On Jan 15, 1:07*pm, JLGWhiz wrote:
You would have to use a change event code in the sheet module to do what you
are describing, if you don't use conditional formatting. *To use up to twenty
colors, you would need to set up an algorithm, probably in the form of a case
statement, that would be called if any cell in Col A changes and if the value
of the chage equals one of the cases in the algorithm, the cell color would
change accordingly.



"S Himmelrich" wrote:
Sorry to be misleading on that. *The example was for purposes of
demonstrating the final result. *I'm already in macro mode as far as
the final results of that speadsheet, so conditional formatting is not
what I'm looking for. *The referenced website you provided does not
address changing colors as values change so that isn't providing
anymore insight to my challenge. *Thank you for effort and response.


On Jan 15, 11:41 am, ryguy7272
wrote:
There is no VBA code in that sheet, nor is the Conditional Formatting applied
to the sheet. *Simple review this web site:http://www.contextures.com/xlCondFormat03.html


Then, apply to your specific needs:


Regards,
Ryan--
--
RyGuy


"S Himmelrich" wrote:
Here is the result I'm looking for in regards to changing color as
cell value changes in a column ("A"):


www.atlantissupport.com/example/example.xls


Basically I'm trying to change the background color of the cell as
the
data changes in Column A. *Know that the values in Column A change
dynamically with other macro code that is already completed. *Also I
must pre-define enough colors to cover for expansion in the future
(probably no more then twenty). *I've kept the duplicates in Column A
thinking that this may help in coding this macro and will delete
those
after the background color is completed. *I assume I can use offset
for moving the color to the smaller Column B.
Hope someone can help......- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -


Do you have any examples of this type of code?
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
change background row color with change of date in a cell Urszula Excel Discussion (Misc queries) 5 May 17th 06 07:56 AM
Cell Background Color Change according to numerical value jrd269 Excel Discussion (Misc queries) 11 May 31st 05 09:46 PM
background color of my cell does not change Colorblinded Excel Discussion (Misc queries) 2 March 27th 05 04:55 PM
Change Cell-Background color into Text Kai Tücking[_2_] Excel Programming 0 October 13th 04 06:36 PM
Change Cell-Background color into Text Kai Tücking Excel Programming 1 October 13th 04 03:20 PM


All times are GMT +1. The time now is 01:05 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"