Sub Flash1()
NextTime = Now + TimeValue("00:00:01")
If ActiveSheet.Shapes("Shap_1").Fill.ForeColor.RGB = RGB(0, 0, 198) Then
ActiveSheet.Shapes("Shap_1").Fill.ForeColor.RGB = RGB(74, 74, 255)
Else
ActiveSheet.Shapes("Shap_1").Fill.ForeColor.RGB = RGB(0, 0, 198)
End If
If ActiveSheet.Shapes("Shap_1").Fill.ForeColor.RGB = RGB(0, 0, 198) Then
ActiveSheet.Shapes("Shap_2").Fill.ForeColor.RGB = RGB(74, 74, 255)
Else
ActiveSheet.Shapes("Shap_2").Fill.ForeColor.RGB = RGB(0, 0, 198)
End If
If ActiveSheet.Shapes("Shap_2").Fill.ForeColor.RGB = RGB(0, 0, 198) Then
ActiveSheet.Shapes("Shap_3").Fill.ForeColor.RGB = RGB(74, 74, 255)
Else
ActiveSheet.Shapes("Shap_3").Fill.ForeColor.RGB = RGB(0, 0, 198)
End If
If ActiveSheet.Shapes("Shap_3").Fill.ForeColor.RGB = RGB(0, 0, 198) Then
ActiveSheet.Shapes("Shap_4").Fill.ForeColor.RGB = RGB(74, 74, 255)
Else
ActiveSheet.Shapes("Shap_4").Fill.ForeColor.RGB = RGB(0, 0, 198)
End If
If ActiveSheet.Shapes("Shap_4").Fill.ForeColor.RGB = RGB(0, 0, 198) Then
ActiveSheet.Shapes("Shap_5").Fill.ForeColor.RGB = RGB(74, 74, 255)
Else
ActiveSheet.Shapes("Shap_5").Fill.ForeColor.RGB = RGB(0, 0, 198)
End If
If ActiveSheet.Shapes("Shap_5").Fill.ForeColor.RGB = RGB(0, 0, 198) Then
ActiveSheet.Shapes("Shap_6").Fill.ForeColor.RGB = RGB(74, 74, 255)
Else
ActiveSheet.Shapes("Shap_6").Fill.ForeColor.RGB = RGB(0, 0, 198)
End If
If ActiveSheet.Shapes("Shap_6").Fill.ForeColor.RGB = RGB(0, 0, 198) Then
ActiveSheet.Shapes("Shap_7").Fill.ForeColor.RGB = RGB(74, 74, 255)
Else
ActiveSheet.Shapes("Shap_7").Fill.ForeColor.RGB = RGB(0, 0, 198)
End If
'If xColor = 0 Then
' xColor = .SchemeColor
'End If
' .SchemeColor = Int(Rnd() * 55 + 1)
' End With
' With ActiveSheet.Shapes("new_x").Fill.ForeColor
' If xColor = 0 Then
' xColor = .SchemeColor
' End If
' .SchemeColor = Int(Rnd() * 55 + 1)
Application.OnTime NextTime, "Flash1"
End Sub