ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

Ãö©ó©T©w®É¶¡¬ö¿ýªº­×§ï

¦^´_ 14# c_c_lai

C¤j§Ú»~·|§Aªº·N«ä¤F¡A§A­è­è¤W¶ÇªºÀɮסA§Ú¥H¬°¬O­n­×§ï¦¨¨º¼Ë

TOP

¦^´_ 13# ÂŤÑÄR¦À
§O¤H¸ÑÃD®É¡A½Ð¤@©w­n¥ý¥h¤F¸Ñ¸ÑÃD¤§µ{¦¡¤º®e¬°¦ó¡H
§A­n¦Û¤v®M¥Î¦Ü§A¥Ø«e¤§µ{¦¡¤º¡A¦Ó¤£­n´Á±æ¤H®a¥þ³¡À°§A®M¦n¡C
³o­Ó½d¨Ò¤w§¹¥þµ¹§A¤F³B²zªº¤èªk¡A§A¥Ø«eµ{¦¡¬°¦ó¯à±Ò°Êµ{¦¡¡H
½d¨Ò¬°¦ó¤£¯à¦Û°Ê±Ò°Ê¡H§A­n¥h¬Ý¬Ý§A¥Ø«eµ{¦¡¬O«ç»ò¹B§@ªº¡C
»¡¥Õ¤@ÂI¡A§A¥u­n§â½d¨Òµ{¦¡®M¤J¨ì²{¦³µ{¦¡¤º´N OK ¤F¡C

TOP

¦^´_ 12# c_c_lai

C¤j¡A³o­Óµ{¦¡®É¶¡¨ì·|¦Û¤v°õ¦æ¶Ü??§Ú­è­è­×§ï®É¶¡«á¥´¶}§¹¥þ¨S°Ê§@

TOP

¦^´_ 11# ÂŤÑÄR¦À
DDE®É¶¡¤ñ¹ï.rar (36.92 KB)

TOP

¥»©«³Ì«á¥Ñ ÂŤÑÄR¦À ©ó 2016-9-14 18:11 ½s¿è

¦^´_ 10# c_c_lai
C¤j§Ú¬Ý¤£¤ÓÀ´§Aªº¶¡¹j®É¶¡¬O«ç»ò³]©wªº

¬O§âµ{¦¡©ñ¦bThisworksheet¶Ü??­è­è°õ¦æ«á¨S¦³¥ô¦ó°Ê§@¡A§Ú¤§«eªº¥¨¶°³£­n§R±¼¶Ü??§Ú¬ÝC¤j¹Ï¸Ì­±¨S¦³¥¨¶°

TOP

¦^´_ 5# ÂŤÑÄR¦À
  1. Sub mySchedule()
  2.     If TimeValue(Now) <= TimeValue("08:45:00") Or TimeValue(Now) > TimeValue("13:30:00") Then Exit Sub

  3.     Application.OnTime (Now + TimeValue("00:00:01")), "ThisWorkbook.RecordPrice"
  4. End Sub

  5. Sub RecordPrice()
  6.     Dim TimeRange As Variant

  7.     With Sheets("DDE")
  8.         Set TimeRange = .[A:A].Find(TimeSerial(Hour(Time), Minute(Time), Second(Time)))    '  Àˬd "A" Äæ¦ì¹ïÀ³¤§®É¬q
  9.         
  10.         If Not TimeRange Is Nothing Then
  11.             TimeRange.Offset(, 1) = Time
  12.         End If
  13.     End With
  14.    
  15.     mySchedule
  16. End Sub
½Æ»s¥N½X

TOP

¦^´_ 8# jackyq

¥i¥H½ÐJ¤j©ú¥Ü¶Ü??

TOP

Application.OnTime À³¸Ó¥u¦³¤@­Ó¤èªk¥i¥H·Ç

TOP

¦^´_ 6# ­ã´£³¡ªL
·Ç¤j½Ð±Ð¤@¤U¡A¦¹µ{¦¡½X­n¥[¦b­þÃä©O??

TOP

TM = Now
SND = 5 - (TM - 1) Mod 5
Application.OnTime TM + SND, "µ{¦¡"

TOP

        ÀR«ä¦Û¦b : ¦³´¼¼z¤~¯à¤À¿ëµ½´c¨¸¥¿¡F¦³Á¾µê¤~¯à«Ø¥ß¬üº¡¤H¥Í¡C
ªð¦^¦Cªí ¤W¤@¥DÃD