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!