From: stevedemo77 on 10 Mar 2010 10:41 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!
From: Bernard Liengme on 10 Mar 2010 11:03 Have a look at http://www.ozgrid.com/VBA/excel-conditional-formatting-limit.htm best wishes -- Bernard Liengme Microsoft Excel MVP http://people.stfx.ca/bliengme "stevedemo77" <stevedemo77(a)discussions.microsoft.com> wrote in message news:FE944B7A-3DD3-4F6D-A3BF-E6B7EA59071F(a)microsoft.com... > 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!
|
Pages: 1 Prev: Modeless User Form Is Blank Next: How to print with a gap in the middle of a sheet |