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

[µo°Ý] DDE°O¿ý¸ê®Æ¨D§U

[µo°Ý] DDE°O¿ý¸ê®Æ¨D§U

¶W¯ÅĹ®a.rar (11.92 KB) ¦U¦ì¤j¤j¡A·í¶}½L«á¡Aexcel¨S¦³¥ô¦ó°Ê§@¡A¶i¤J¥¨¶°¤º«ö°õ¦æ¡A¸õ¥X"¦¹±M®×ªº¥¨¶°¤w³Q¼È¤î"ªº®Ø®Ø¡A³o¬O¥X²{¤F¤°»ò°ÝÃD?
¦Ó¥B¤]¨S¿ìªk¥¿±`Ãö³¬excel

§A³]©wªº¨º­ÓDDE ¬O§ì¨ú°ÊºA¸ê®Æªº
©Ò¥H§A¨C¦¸¦b¶}±Ò³o­Ó¥¨¶°ªº®É­Ô­nª`·Nªº³¡¤À´N¬O

1.§AªºDDE ³ø»ù¸ê®Æ¨Ó·½­n¥ý±Ò°Ê(¤@¯ë³£¬O¨é°Óªº³ø»ù³nÅé)
2.§Aªº¥¨¶°¦b2003 ¥H¤Wªºª©¥»¤W­±³£­n¤â°Ê¶}±Ò  ¥L¤~·|°µµ{¦¡ªº°Ê§@
¤£ºÞ¬O¥~³¡¸ê®ÆÁÙ¬O§A­n°µ°ÊºADDE ªº¶}±Ò ¡A¥L¦bEXCEL¿é¤J¤½¦¡ªº¨º¦æ®ÇÃä
¥L·|§iª¾§A ¬O§_­n±Ò°Ê

TOP

c_c_lai ¤j¤j·PÁÂ
§Ú¤w¸g¸Ñ¨M¤F , §âµ{¦¡¤¤ªº "Sheet2" ¥þ³£§ï¦¨ Excel ¥ª¤U¤èªº "¤u§@ªí1" ´N¥i¥H¤F ^^
¤£¹L¤£ª¾¹D¬°¤°»ò§Ú¦pªG§â¥ª¤U¨¤ªº"¤u§@ªí1"§ï¦¨ "Sheet2" «o¨S¥Î ~ ©Ç

¦Ó¥B¤S¦h¤F¦n¦h°ÝÃD¾¾
¬Ý¨Ó­n¶}¥t¤@½g¤å³¹¤F >~<
¤p©f¦b¦¹¦V¦U¦ì¤j¤j¨D±Ð¤F Orz

TOP

¦^´_  c_c_lai

¶Ù c_c_lai ¤j¤j±z¦n
¤p©f³Ìªñ¤]·Q¾ÇDDE©Ô¤J¸ê®Æ
»Ý¨D­è¦n¸ò¼Ó¥D¤@¼Ë
¥i¬O§Ú¥á¶i¥h«á ...
saleen µoªí©ó 2013-6-4 11:10

©p¬O§¹¾ã½Æ»s 26# ¤Wªºµ{¦¡½X¶Ü¡H
©p§â°õ¦æµe­±½Æ»s¨ì¤pµe®a (Print Screen -> ¤pµe®a -> ¶K¤W ) ¤W¶Ç¡C
ÁÂÁ¡I

TOP

¦^´_ 26# c_c_lai

¶Ù c_c_lai ¤j¤j±z¦n
¤p©f³Ìªñ¤]·Q¾ÇDDE©Ô¤J¸ê®Æ
»Ý¨D­è¦n¸ò¼Ó¥D¤@¼Ë
¥i¬O§Ú¥á¶i¥h«á«oÅã¥Ü"Åܼƥ¼©w¸q"
¬O¦b
Sub updateFollow()
    Dim Rng As Range
   
    On Error Resume Next
    If (TimeValue(Now) < TimeValue("08:45:00") Or TimeValue(Now) > TimeValue("13:45:00")) Then Exit Sub

    With Sheet2
³o¬q
½Ð°Ý¸Ó«ç»ò­×¥¿ >"<
¤p©f¦b¦¹¦V¦U¦ì¤j¤j¨D±Ð¤F Orz

TOP

¦^´_ 28# c_c_lai
ok! ¦¬¨ì¡A©ú¤Ñ¨Ó¸Õ¸Õ¬Ý~

TOP

¦^´_  c_c_lai
GBKEE µoªí©ó 2013-4-29 16:01

¦n¤[¨SÁpµ¸¤F¡Aªñ¨Ó¶¶·N§a¡I
Application.OnTime Now + 300 / 86400#, "ThisWorkbook.updateFollow"
¬O¶¶À³¥L­ì¥»ªºµ{¦¡¦Ó¥¼¥[¥H²§°Ê¡A§Ú­Ó¤H²ßºD¥Î±z«ü±Ðªº»yªk¡B
©Î¬O§ì¨ú¬Y³]©wÄæ¦ì§@¬°°ÊºA³B²z¡AÁÂÁ±z¡I

TOP

¦^´_ 26# c_c_lai
  1. Option Explicit
  2. Sub updateFollow()
  3.     Dim Rng As Range
  4.     With Sheet2
  5.         'Set Rng = .Range("A" & .Range("A" & .Rows.Count).End(xlUp).Row + 1).Resize(1, 10)
  6.         Set Rng = .Range("A" & .Rows.Count).End(xlUp).Offset(1).Resize(1, 10) '³o¼Ë¥i²²¤¨Ç
  7.         Rng = Sheet1.[c2:L12].Value        'C:L ¦@10Äæ,¥B¬°³sÄò ¥i¥Î¦p¦¹»yªk
  8.         'Rng(1) = Sheet1.[c2]
  9.         'Rng(2) = Sheet1.[d2]
  10.         'Rng(3) = Sheet1.[e2]
  11.         'Rng(4) = Sheet1.[f2]
  12.         'Rng(5) = Sheet1.[g2]
  13.         'Rng(6) = Sheet1.[h2]
  14.         'Rng(7) = Sheet1.[i2]
  15.         'Rng(8) = Sheet1.[j2]
  16.         'Rng(9) = Sheet1.[k2]
  17.         'Rng(10) = Sheet1.[l2]
  18.     End With
  19.     '­â±á ¹sÂI¹s¤À       #12:00:00 AM#
  20.     '­â±á ¹sÂI¹s¤À30¬í   #12:00:30 AM#
  21.     '­â±á ¹sÂI1¤À        #12:01:00 AM#
  22.     '­â±á ¹sÂI5¤À        #12:05:00 AM#
  23.     Application.OnTime Now + #12:00:30 AM#, "ThisWorkbook.updateFollow"     '  ¨C30¬íÄÁ©I¥s ¤@¦¸
  24. '  Application.OnTime Now + #12:01:00 AM#, "ThisWorkbook.updateFollow"     '  ¨C¤@¤ÀÄÁ©I¥s ¤@¦¸
  25. '  Application.OnTime Now +  #12:05:00 AM#, "ThisWorkbook.updateFollow"    '  ¨C¤­¤ÀÄÁ©I¥s ¤@¦¸
  26. '  Application.OnTime Now + 60 / 86400#, "ThisWorkbook.updateFollow"       '  ¨C¤@¤ÀÄÁ©I¥s ¤@¦¸
  27. '  Application.OnTime Now + 300 / 86400#, "ThisWorkbook.updateFollow"      '  ¨C¤­¤ÀÄÁ©I¥s ¤@¦¸
  28. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 27# n8975067
¦¬¦¬ E-Mail¡A¤U¸ü«á©ú¤Ñ
§A¦A¥Î§ÚªºÀɮ׸ոլݡI

TOP

¦^´_ 26# c_c_lai

·PÁÂc_c_¤j¡A¦ý§Ú¤µ¤Ñ¹J¨ì¤@­Ó°ÝÃD¡A´N¬O¹q¸£¬ðµM·í¾÷µL¦^À³¡A±j¨îÃö¾÷«á¡A ³o­Óexcel¶}±Ò³£·|"¨S¦³¦^À³"¡A½L¤¤ªº¸ê®Æ¤]¨S¦³Àx¦s¤U¨Ó¡A³o¬O«ç»ò¦^¬O©O?

TOP

        ÀR«ä¦Û¦b : §ïÅܦۤv¬O¦Û±Ï¡A¼vÅT§O¤H¬O±Ï¤H¡C
ªð¦^¦Cªí ¤W¤@¥DÃD