Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Conditional Formatting VBA Multiple Numeric Ranges

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!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 563
Default Conditional Formatting VBA Multiple Numeric Ranges

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" wrote in message
...
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
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
Conditional formatting ranges in VBA smokey4smokey Excel Discussion (Misc queries) 2 April 10th 11 02:02 PM
Conditional formatting date ranges arkmpr Excel Worksheet Functions 1 January 19th 07 08:24 PM
Conditional Formatting - date ranges Angela Excel Discussion (Misc queries) 3 November 2nd 05 03:36 PM
conditional numeric formatting fichtnerbass Excel Programming 0 April 18th 05 05:33 PM
Ranges within Conditional Formatting Ryno Excel Discussion (Misc queries) 4 December 14th 04 12:47 AM


All times are GMT +1. The time now is 05:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"