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

[µo°Ý] ¬O§_¦³¿ìªk§ï¼g¦¨¥t¤@ºØªñ¦üªº¥\¯à?

[µo°Ý] ¬O§_¦³¿ìªk§ï¼g¦¨¥t¤@ºØªñ¦üªº¥\¯à?

¥»©«³Ì«á¥Ñ vpower ©ó 2011-5-31 08:58 ½s¿è

´ú¸Õ2.rar (36.14 KB)
¤Þ¥ÎGBKEE ª©¥D©Ò»s§@ªº¡AÀɮצp¤W¡Aºô§}¦p¤U¡G
http://forum.twbts.com/viewthrea ... a=pageD3&page=3

¬O§_¦³¿ìªk§ï¼g¦¨¦p¤U¡G
1.§PÂ_®É¶¡Ä檺¶W¹L¦h¤Ö®É¶¡©MÁÙ¦³¦h¤[®É¶¡§P©w¨ú®ø¡A§ó§ï¦¨¥u­n®É¶¡¨ì,´Nµo¥X­µ¼Ö¡C
2.·í§Ú­×§ï®É¶¡Äæ«á,¨ÌµM·|µo¥X­µ¼Ö©O¡H
--------------------------------------------------------------------------------------
§Úª¾¹Dªº«ùÄò°õ¦æµ{¦¡ªº°µªk¦p¤U:
1.»s§@¤@­Ó«ö¶sCommandButton1
  1. Private Sub CommandButton1_Click()
  2.     Call my_Procedure2                     '«ü¦V©Ò«Ø¥ßªºModule1ªºSub my_Procedure()
  3. End Sub
½Æ»s¥N½X
2.«Ø¥ß¤@­ÓModule1¡AµM«á¿é¤J¦p¤U¡G
  1. Public dTime As Date
  2. Sub my_Procedure()
  3. dTime = Now + TimeValue("00:00:01")                   '¦Û¦æ³]©w®É¶¡¡A¥Ø«e³]©w¬°¨C¬íÄÁ°õ¦æ©Ò©ñ¤Jªºµ{¦¡½X¡C
  4. Application.OnTime dTime, "my_Procedure"
  5. '©ñ¤J¦Û°Ê°õ¦æªºµ{¦¡½X
  6. End Sub
½Æ»s¥N½X
¥H¤W¬OÅý¤@²Õµ{¦¡½X¨C?¬í©Î¨C?¤À©Î¨C?®É¡A¦Û°Ê°õ¦æ¤@¦¸¡C

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