PC Review


Reply
Thread Tools Rate Thread

Conditional Formatting VBA Multiple Numeric Ranges

 
 
stevedemo77
Guest
Posts: n/a
 
      10th Mar 2010
I have a worksheet with hundreds of rows of data in columns A through AV, and
want to have the color of columns A through J ONLY change for each row based
on a numeric value in column J. For example, if the value in column J <0,
color = red, if between 1 and 30 = yellow, if between 31 and 45 = blue, if
between 46 and 60 = green, if between 61 and 90 = purple, if >120 =
gray...and so on. I'm using Excel 2003 unfortunately so am limited to 3
conditional formats and need to use VBA. Any suggestions on how to code this?
Thanks!
 
Reply With Quote
 
 
 
 
Bernard Liengme
Guest
Posts: n/a
 
      10th Mar 2010
Have a look at
http://www.ozgrid.com/VBA/excel-cond...ting-limit.htm
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"stevedemo77" <(E-Mail Removed)> wrote in message
news:FE944B7A-3DD3-4F6D-A3BF-(E-Mail Removed)...
> I have a worksheet with hundreds of rows of data in columns A through AV,
> and
> want to have the color of columns A through J ONLY change for each row
> based
> on a numeric value in column J. For example, if the value in column J <0,
> color = red, if between 1 and 30 = yellow, if between 31 and 45 = blue, if
> between 46 and 60 = green, if between 61 and 90 = purple, if >120 =
> gray...and so on. I'm using Excel 2003 unfortunately so am limited to 3
> conditional formats and need to use VBA. Any suggestions on how to code
> this?
> Thanks!


 
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
Conditional Formatting for Negative numeric values =?Utf-8?B?RGF2ZUFsZmE=?= Microsoft Access Forms 1 7th Feb 2006 06:31 PM
conditional numeric formatting =?Utf-8?B?ZmljaHRuZXJiYXNz?= Microsoft Excel Programming 0 18th Apr 2005 05:33 PM
Ranges within Conditional Formatting =?Utf-8?B?Unlubw==?= Microsoft Excel Misc 4 14th Dec 2004 12:47 AM
conditional formatting ranges =?Utf-8?B?U2FuZHk=?= Microsoft Excel Worksheet Functions 7 13th May 2004 07:21 PM
Conditional formatting between date ranges Carl D. Zimmerman Microsoft Excel Worksheet Functions 2 19th Aug 2003 06:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:54 PM.