Posted to microsoft.public.excel.programming
|
|
Color Coding Cells that are listed as Dates
Hi Darren,
check Conditional Formating in Format menu
"Darren Hastie" wrote:
Hi All,
Im working on a large workbook with multiple worksheets. Each of these
worksheets has a large amount of data relating to training records. In
particular, the date that an employees certification is due to expire
(eg: 01/02/2007 or 31/09/2009 etc).
I need to color code these records with the below logic, eg:
If Cell Date is <Today() = Red Text or Cell
If Cell Date is <18months from Today()+1 = Yellow Text or Cell Cell
If Cell Date is 18months from Today() = No change - leave white
I have limited VBA knowledge, but will be able to work my way through
some of the code that is posted.
It's also key to note that there are multiple 'Blank' and 'Text' Cells
in these worksheets. I only want to apply this code to a cell if it is
populated with a date, is this possible ?? (eg: i only want to change
the color of the dates listed, not the other cells with text and single
numbers).
An extract of the spreadsheet can be provided if this will assist.
Thanks in advance for all of your help with this post.
Cheers,
Darren
(PS - My Newsgroup email is not legitimate due to potential SPAM emails
- please post a reply initially - Thanks)
*** Sent via Developersdex http://www.developersdex.com ***
|