¥»©«³Ì«á¥Ñ 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§ó§ï¦¨¥un®É¶¡¨ì,´Nµo¥Xµ¼Ö¡C
2.·í§Úקï®É¶¡Äæ«á,¨ÌµM·|µo¥Xµ¼Ö©O¡H
--------------------------------------------------------------------------------------
§Úª¾¹Dªº«ùÄò°õ¦æµ{¦¡ªº°µªk¦p¤U:
1.»s§@¤@Ó«ö¶s
CommandButton1- Private Sub CommandButton1_Click()
- Call my_Procedure2 '«ü¦V©Ò«Ø¥ßªºModule1ªºSub my_Procedure()
- End Sub
½Æ»s¥N½X2.«Ø¥ß¤@Ó
Module1¡AµM«á¿é¤J¦p¤U¡G
- Public dTime As Date
- Sub my_Procedure()
- dTime = Now + TimeValue("00:00:01") '¦Û¦æ³]©w®É¶¡¡A¥Ø«e³]©w¬°¨C¬íÄÁ°õ¦æ©Ò©ñ¤Jªºµ{¦¡½X¡C
- Application.OnTime dTime, "my_Procedure"
- '©ñ¤J¦Û°Ê°õ¦æªºµ{¦¡½X
- End Sub
½Æ»s¥N½X¥H¤W¬O
Åý¤@²Õµ{¦¡½X¨C?¬í©Î¨C?¤À©Î¨C?®É¡A¦Û°Ê°õ¦æ¤@¦¸¡C