- ©«¤l
- 2035
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 2031
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-3-22
- ³Ì«áµn¿ý
- 2024-2-1
|
¦^´_ 5# ÂŤÑÄR¦À - Sub 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
½Æ»s¥N½X
|
|