- ©«¤l
- 2834
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2890
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2024-11-29
|
¥»©«³Ì«á¥Ñ ã´£³¡ªL ©ó 2019-5-11 11:36 ½s¿è
¤@¯ë¼Ò²Õ°Ï:
Public xTime
Sub AA()
Range("C4").Calculate
xTime = Now + TimeValue("00:00:01")
Application.OnTime xTime, "AA"
End Sub
Sub STOP_AA()
On Error Resume Next
Application.OnTime xTime, "AA", Schedule:=False
On Error GoTo 0
End Sub
'================================
¬¡¶Ã¯¨Æ¥ó°Ï:
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Call STOP_AA
End Sub
Private Sub Workbook_Open()
With Sheet1.Range("C4")
.Formula = "=NOW()"
.NumberFormatLocal = "hh:mm:ss"
End With
Call AA
End Sub
®É¶¡§ïÅÜ, ¦ý¤£¼vÅT¦b¨ä¥¦Àx¦s®æ¾Þ§@«á, ¦ÓµLªk¨Ï¥Î[´_ì/½Æ»s/¶K¤W]ªº¥\¯à,
¤£¹L, Y¤½¦¡¤Ó¦h, ¥i¯à·|Åý¾ãÓÀÉ®×¥d¦º~~
=================== |
|