- ©«¤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
|
¦^´_ 8# t8899 - Option Explicit '±j¢µ{¦¡«Å§i¨Ï¥ÎªºÅܼÆ,¥i¥H§ä¥X¨S¦³«Å§iªºÅܼÆ,©ö©óµ{¦¡½Xªº°»¿ù
- Dim tome As Date '¦b¼Ò²ÕºÝDim ¬O³o¼Ò²Õªº¨p¦³ÅܼÆ,³o¼Ò²Õªºµ{¦¡³£¥i¥H¤Þ¥Î¨ìªº
- Sub timestock()
- 'Dim tome As Date '¦bµ{¦¡¤ºªº Dim ¬O³oµ{¦¡ªº¨p¦³ÅܼÆ,³oµ{¦¡©Ò¦³DimªºÅܼƤº®e,¦bµ{¦¡°õ¦æ§¹²¦«á,·|³QÄÀ©ñ±¼,¨ä¥Lµ{¦¡¤Þ¥Î¤£¨ìªº
- tome = TimeValue(Now) + TimeValue("00:00:05")
- Application.OnTime tome, "sheet2.timestock"
- MsgBoxTest 0, "test ", "´£¥Ü°T®§", vbInformation, 0, 1500
- End Sub
- Private Sub CommandButton1_Click()
- If tome > 0 Then
- Application.OnTime EarliestTime:=TimeValue(tome), _
- Procedure:="sheet2.timestock", Schedule:=False
- tome = 0
- End If
- End Sub
- Private Sub CommandButton2_Click()
- timestock
- End Sub
½Æ»s¥N½X |
|