Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() With some help, the following code does the trick for the date part. Code: -------------------- For Each c In Range("DP6_Date_Start") Select Case Month(c.Value) Case 1, 2, 12 c.Offset(0, -6).Font.ColorIndex = 3 Case 3, 4, 5 c.Offset(0, -6).Font.ColorIndex = 50 Case 6, 7, 8 c.Offset(0, -6).Font.ColorIndex = 5 Case 9, 10, 11 c.Offset(0, -6).Font.ColorIndex = 0 End Select Next c -------------------- Now I just need to figure out the DP6_Name vs Alt_Name part -- BrianDP1977 ------------------------------------------------------------------------ BrianDP1977's Profile: http://www.excelforum.com/member.php...o&userid=29110 View this thread: http://www.excelforum.com/showthread...hreadid=490642 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Checkbox to change background color, font color and remove/ add bo | Excel Discussion (Misc queries) | |||
Conditional Format for font color using font color | Excel Worksheet Functions | |||
Changing Font color based on font type or size | Excel Discussion (Misc queries) | |||
fill color and font color icons do not work in excel | Excel Discussion (Misc queries) | |||
My fill color and font color do not work in Excel Std Edition 2003 | Excel Discussion (Misc queries) |