Private Sub Workbook_Open()
Sheets("Control").Range("B1").Value = Time
Application.OnTime Time + TimeSerial(0, 0, Sheets("Control").Range("B9")), "RealTime"
End Sub
====================================================================
Sub Realtime()
Sheets("Control").Range("B1").Value = Time
Application.OnTime Time + TimeSerial(0, 0, Sheets("Control").Range("B9")), "RealTime"
End Sub