السلام عليكم
Private Sub Worksheet_Change(ByVal Target As Range)
Dim My_Rng As Range, cell As Range, z As Integer
z = Range("H6").End(xlDown).Row
Set My_Rng = Range(Cells(7, "H"), Cells(z, "H"))
For Each cell In My_Rng
If cell.Value < Range("Min") Then
cell.Font.ColorIndex = Range("colorcode")
Else
cell.Font.ColorIndex = 1
End If
Next cell
End Sub
جمع الخلايا الملونه2.rar