Hi guys,
Thanks so much for the help.
At the moment I am using the following code which is working perfectly:
Private Sub Worksheet_Change(ByVal Target As Range)
Shapes("Valve_20").Fill.ForeColor.RGB = IIf(StrConv(Range("DF53").Value, vbUpperCase) = "OPEN", RGB(43, 170, 26), RGB(255, 0, 0))
Shapes("Valve_30").Fill.ForeColor.RGB = IIf(StrConv(Range("DF54").Value, vbUpperCase) = "OPEN", RGB(43, 170, 26), RGB(255, 0, 0))
Shapes("Valve_10").Fill.ForeColor.RGB = IIf(StrConv(Range("DF55").Value, vbUpperCase) = "OPEN", RGB(43, 170, 26), RGB(255, 0, 0))
End Sub
Only thing is, that I would now like to have three color options instead of just two. OPEN=Green, CLOSED=Red and NA=White.
How can this be incorporated in to the code? any help MUCH appreciated.
Bookmarks