Many thanks
Dan
Dim refreshCount As Integer
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Columns.Count <> 16 Then Exit Sub
Application.EnableEvents = False
If Range("y1").Value = 1 Then
refreshCount = refreshCount + 1
Else
refreshCount = 0
End If
If refreshCount > 5 Then
Range("y2").Value = 1
Else
Range("y2").Value = 0
End If
If Cells(2, 5) = "In Play" Then
If Cells(1, 27) = "" Then Cells(1, 27) = Cells(2, 3)
If Cells(1, 27) <> "" Then Cells(1, 28) = DateDiff("s", Cells(1, 27), Cells(2, 3))
End If
If Cells(2, 5) <> "In Play" And Cells(2, 6) <> "Suspended" Then
Cells(1, 27) = ""
Cells(1, 28) = ""
End If
Application.EnableEvents = True
End Sub
PS. Not that versed in VBA, the above code was just a mix & match of other people's codes.