EliseFreedman
Programmer
Hi There
I am working on a spreadsheet which is going to have a scoring system behind it.
Basically what will happen is that users will select values for a range of indicators. If ANY of the values in the range are Red, then the overall score should be red. I tried to use the code below but it didnt seem to be working. Im not sure where I am going wrong.
Can anyone help
I am working on a spreadsheet which is going to have a scoring system behind it.
Basically what will happen is that users will select values for a range of indicators. If ANY of the values in the range are Red, then the overall score should be red. I tried to use the code below but it didnt seem to be working. Im not sure where I am going wrong.
Code:
Dim NxtRow
For NxtRow = 7 To 15
If Range("G" & NxtRow).Interior.ColorIndex = 45 Then
Range("G16").Interior.ColorIndex = 45
Else
Range("G16").Interior.ColorIndex = 0
End If
Next
Can anyone help