PC Review


Reply
Thread Tools Rate Thread

AutoColoring

 
 
=?Utf-8?B?VGlt?=
Guest
Posts: n/a
 
      20th Jun 2007
I would like to auto color my (row) data based on the content in a column.
For instance if Column A was "Type" and if row 2,4,5 had "A" then they would
all be green, if row 3,7 were "B" then they would be red and if row 6 was "C"
then it would be yellow. And so on in that fashion. I want the whole row to
be that color, and the color would be the background color. I would like as
much of this to be automatic so color selection for each new type would be
automatic (256 color support is fine, I don't need more then that many
types). I am sure there is someway of using an array to runs this but I am
unsure of how to store it, run it, etc.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?c3RldmVfZG9j?=
Guest
Posts: n/a
 
      20th Jun 2007
1 solution might be using Conditional formatting
Try the following link

http://www.xldynamic.com/source/xld.html

other option is via a VBA Sub using EntireRow.Interior.ColorIndex = 3 ' as eg



"Tim" wrote:

> I would like to auto color my (row) data based on the content in a column.
> For instance if Column A was "Type" and if row 2,4,5 had "A" then they would
> all be green, if row 3,7 were "B" then they would be red and if row 6 was "C"
> then it would be yellow. And so on in that fashion. I want the whole row to
> be that color, and the color would be the background color. I would like as
> much of this to be automatic so color selection for each new type would be
> automatic (256 color support is fine, I don't need more then that many
> types). I am sure there is someway of using an array to runs this but I am
> unsure of how to store it, run it, etc.

 
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
Question about autocoloring cells? Zerex71 Microsoft Excel Discussion 5 18th Jul 2006 03:27 AM
criteria induced autocoloring motocruster Microsoft Excel New Users 1 17th Mar 2004 10:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:34 AM.