Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Gregory,
Perhaps something like this, which will color cells in A1:B10 less than 8000 or greater than 9000 Red. Dim myCell As Range For Each myCell In Range("A1:B10") If myCell.Value 9000 Or myCell.Value < 8000 Then myCell.Interior.ColorIndex = 3 End If Next myCell HTH, Bernie MS Excel MVP "Gregory" wrote in message ... I am trying to change the background color of cells where the value is < or a certain number. Is there a simple way to do this programatically? Thanks in advance for any help |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditional Formatting on Range of Cells | Excel Worksheet Functions | |||
Conditional Formatting to a RANGE of cells | Excel Discussion (Misc queries) | |||
Conditional formatting a range of cells. | Excel Discussion (Misc queries) | |||
Conditional formatting a range of cells | Excel Worksheet Functions | |||
Conditional formatting for range of cells? | Excel Worksheet Functions |