- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¥»©«³Ì«á¥Ñ GBKEE ©ó 2010-10-3 14:36 ½s¿è
¦^´_ 10# yanto913
API ¨ç¼Æ§Ú¤£¼ô, ÁÙ¬O¦^¨ì§A¤@¼ÓªºDO LOOP °j°é¸Õ¸Õ¬Ý,¦ýÁÙ¬O¦³¯ÊÂI ¦pÀx¦s®æ¦³¦b§@¿é¤J°Ê§@,µ{¦¡·|°±¤î
Moduleªºµ{¦¡½X
- Dim MyTime As Single, MyStop As Boolean
- Private Const PauseTime = (1 / 60) * 2 ' " * 2 " -> "0.2’"
- Sub StartAsub()
- MyStop = False
- MyTime = Timer + PauseTime
- Do
- If MyTime <= Timer Then
- MyTime = Timer + PauseTime
- With Workbooks("Book1.xls").Sheets("Sheet1").Range("a1")
- .Value = .Value + 1
- End With
- End If
- DoEvents
- Loop While MyStop = False
- End Sub
- Sub StopAsub()
- MyStop = True
- End Sub
½Æ»s¥N½X |
|