Code:
If Qty101 >= "5" Then.Worksheets(1).Cells(3, 15).Interior.ColorIndex = 4
.Worksheets(1).Cells(3, 15) = "OK"
.Worksheets(1).Cells(3, 15).Font.Bold = False
End If
If Qty101 >= "2" Then
If Qty101 <= "4" Then
.Worksheets(1).Cells(3, 15).Interior.ColorIndex = 6
.Worksheets(1).Cells(3, 15) = "RUNNING LOW"
.Worksheets(1).Cells(3, 15).Font.Bold = False
End If
End If
If Qty101 <= "1" Then
.Worksheets(1).Cells(3, 15).Interior.ColorIndex = 3
.Worksheets(1).Cells(3, 15) = "VERY LOW"
.Worksheets(1).Cells(3, 15).Font.Bold = True
End If
If Qty102 >= "5" Then
.Worksheets(1).Cells(4, 15).Interior.ColorIndex = 4
.Worksheets(1).Cells(4, 15) = "OK"
.Worksheets(1).Cells(4, 15).Font.Bold = False
End If
If Qty102 >= "2" Then
If Qty102 <= "4" Then
.Worksheets(1).Cells(4, 15).Interior.ColorIndex = 6
.Worksheets(1).Cells(4, 15) = "RUNNING LOW"
.Worksheets(1).Cells(4, 15).Font.Bold = False
End If
End If
If Qty102 <= "1" Then
.Worksheets(1).Cells(4, 15).Interior.ColorIndex = 3
.Worksheets(1).Cells(4, 15) = "VERY LOW"
.Worksheets(1).Cells(4, 15).Font.Bold = True
End If
If Qty103 >= "5" Then
.Worksheets(1).Cells(5, 15).Interior.ColorIndex = 4
.Worksheets(1).Cells(5, 15) = "OK"
.Worksheets(1).Cells(5, 15).Font.Bold = False
End If
If Qty103 >= "2" Then
If Qty103 <= "4" Then
.Worksheets(1).Cells(5, 15).Interior.ColorIndex = 6
.Worksheets(1).Cells(5, 15) = "RUNNING LOW"
.Worksheets(1).Cells(5, 15).Font.Bold = False
End If
End If
If Qty103 <= "1" Then
.Worksheets(1).Cells(5, 15).Interior.ColorIndex = 3
.Worksheets(1).Cells(5, 15) = "VERY LOW"
.Worksheets(1).Cells(5, 15).Font.Bold = True
End If
If Qty104 >= "5" Then
.Worksheets(1).Cells(6, 15).Interior.ColorIndex = 4
.Worksheets(1).Cells(6, 15) = "OK"
.Worksheets(1).Cells(6, 15).Font.Bold = False
End If
If Qty104 >= "2" Then
If Qty104 <= "4" Then
.Worksheets(1).Cells(6, 15).Interior.ColorIndex = 6
.Worksheets(1).Cells(6, 15) = "RUNNING LOW"
.Worksheets(1).Cells(6, 15).Font.Bold = False
End If
End If
If Qty104 <= "1" Then
.Worksheets(1).Cells(6, 15).Interior.ColorIndex = 3
.Worksheets(1).Cells(6, 15) = "VERY LOW"
.Worksheets(1).Cells(6, 15).Font.Bold = True
End If
If Qty105 >= "5" Then
.Worksheets(1).Cells(7, 15).Interior.ColorIndex = 4
.Worksheets(1).Cells(7, 15) = "OK"
.Worksheets(1).Cells(7, 15).Font.Bold = False
End If
If Qty105 >= "2" Then
If Qty105 <= "4" Then
.Worksheets(1).Cells(7, 15).Interior.ColorIndex = 6
.Worksheets(1).Cells(7, 15) = "RUNNING LOW"
.Worksheets(1).Cells(7, 15).Font.Bold = False
End If
End If
If Qty105 <= "1" Then
.Worksheets(1).Cells(7, 15).Interior.ColorIndex = 3
.Worksheets(1).Cells(7, 15) = "VERY LOW"
.Worksheets(1).Cells(7, 15).Font.Bold = True
End If
If Qty106 >= "5" Then
.Worksheets(1).Cells(8, 15).Interior.ColorIndex = 4
.Worksheets(1).Cells(8, 15) = "OK"
.Worksheets(1).Cells(8, 15).Font.Bold = False
End If
If Qty106 >= "2" Then
If Qty106 <= "4" Then
.Worksheets(1).Cells(8, 15).Interior.ColorIndex = 6
.Worksheets(1).Cells(8, 15) = "RUNNING LOW"
.Worksheets(1).Cells(8, 15).Font.Bold = False
End If
End If
If Qty106 <= "1" Then
.Worksheets(1).Cells(8, 15).Interior.ColorIndex = 3
.Worksheets(1).Cells(8, 15) = "VERY LOW"
.Worksheets(1).Cells(8, 15).Font.Bold = True
End If
If Qty107 >= "5" Then
.Worksheets(1).Cells(9, 15).Interior.ColorIndex = 4 (goes onto row 10)
.Worksheets(1).Cells(9, 15) = "OK" (goes onto row 10)
.Worksheets(1).Cells(9, 15).Font.Bold = False (goes onto row 10)
End If
If Qty107 >= "2" Then
If Qty107 <= "4" Then
.Worksheets(1).Cells(9, 15).Interior.ColorIndex = 6 (goes onto row 10)
.Worksheets(1).Cells(9, 15) = "RUNNING LOW" (goes onto row 10)
.Worksheets(1).Cells(9, 15).Font.Bold = False (goes onto row 10)
End If
End If
If Qty107 <= "1" Then
.Worksheets(1).Cells(9, 15).Interior.ColorIndex = 3
.Worksheets(1).Cells(9, 15) = "VERY LOW"
.Worksheets(1).Cells(9, 15).Font.Bold = True
End If