Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Conditional Formatting VBA Routine

I'm trying to have conditional formatting for more than 4 conditions. I'd
like to use the VBA code, but I'm not sure where I enter the conditions in
the code. For example, I have an array of dates, B2:D20. I want to
highlight dates today or older in red, dates that occur within the next week
in orange, within the next 2 weeks pink, and within the next month green. If
the date is outside any of those ranges (or if it's not a date), I want no
formatting. I have zero VBA knowledge, so I don't know where to enter my
conditions. Help.
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
sub routine Gord Dibben Excel Discussion (Misc queries) 0 November 13th 09 12:15 AM
VB routine to print to PDF? fedude Excel Worksheet Functions 4 March 15th 08 02:04 AM
Sort Routine Platinum girl[_2_] Excel Discussion (Misc queries) 0 March 9th 07 03:21 PM
simplifying routine KneeDown2Up New Users to Excel 5 January 4th 07 05:28 PM
How to create a routine Tara Excel Discussion (Misc queries) 1 August 12th 05 02:28 AM


All times are GMT +1. The time now is 07:02 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"