When a cell with a drop down list changes values, my macro performs actions depending on the value the drop down cell is changed too. The macro works except to get it to finish or change the color of a cell you have to click off the drop down cell and then reselect it. Is there something I need to add to the code to get the color to change at the same time it is doing the strikethrough? Copy of the If statement below.
If rngCurrent.Value = rngValue.Value Then
Range("B" & rngCurrent.Row & ":Q" & rngCurrent.Row).Font.Strikethrough = True
Range("M" & rngCurrent.Row).Interior.Color = Range("L" & rngCurrent.Row).Interior.Color
Else
Range("B" & rngCurrent.Row & ":Q" & rngCurrent.Row).Font.Strikethrough = False
Range("M" & rngCurrent.Row).Interior.ColorIndex = 4
'Exit Sub
End If
If rngCurrent.Value = rngValue.Value Then
Range("B" & rngCurrent.Row & ":Q" & rngCurrent.Row).Font.Strikethrough = True
Range("M" & rngCurrent.Row).Interior.Color = Range("L" & rngCurrent.Row).Interior.Color
Else
Range("B" & rngCurrent.Row & ":Q" & rngCurrent.Row).Font.Strikethrough = False
Range("M" & rngCurrent.Row).Interior.ColorIndex = 4
'Exit Sub
End If