| ©«¤l2035 ¥DÃD24 ºëµØ0 ¿n¤À2031 ÂI¦W0  §@·~¨t²ÎWin7 ³nÅ骩¥»Office2010 ¾\ŪÅv100 ©Ê§O¨k µù¥U®É¶¡2012-3-22 ³Ì«áµn¿ý2024-2-1 
 | 
                
| ¦^´_ 5# ÂŤÑÄR¦À ½Æ»s¥N½XSub mySchedule()
    If TimeValue(Now) <= TimeValue("08:45:00") Or TimeValue(Now) > TimeValue("13:30:00") Then Exit Sub
    Application.OnTime (Now + TimeValue("00:00:01")), "ThisWorkbook.RecordPrice"
End Sub
Sub RecordPrice()
    Dim TimeRange As Variant
    With Sheets("DDE")
        Set TimeRange = .[A:A].Find(TimeSerial(Hour(Time), Minute(Time), Second(Time)))    '  Àˬd "A" Äæ¦ì¹ïÀ³¤§®É¬q
        
        If Not TimeRange Is Nothing Then
            TimeRange.Offset(, 1) = Time
        End If
    End With
    
    mySchedule
End Sub
    | 
 |