Have a look at conditional formatting. You may not even need VBA to do this.
That being said, the VBA code would look something like this:
dimPublic Sub colorit() Dim colRange asAs Range dim Dim rowNum asAs Integer Dim rnum As Integer set rnum = 20 Set colRange = Range("ColRange"Cells(2, 9), Cells(rnum, 9)) for For rowNum = 1 toTo colRange.Rows.Count If colRange.Cells(rowNum, 1).Value <= -5 Then colRange.Cells(rowNum, 1).Interior.Color = RGB(0, 255, 0) Else If ElseIf colRange.Cells(rowNum, 1).Value <= 0 Then colRange.Cells(rowNum, 1).Interior.Color = RGB(255, 255, 0) Else If ElseIf colRange.Cells(rowNum, 1).Value <= 500 Then colRange.Cells(rowNum, 1).Interior.Color = RGB(255, 0, 0) End If next Next rowNum End Sub