- ©«¤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-19 21:45 ½s¿è
¦^´_ 10# junsean
If Time <= TimeValue("08:59:00") Then
Range("A3:I50000") = "" '²Ä¤@¦¸±ø¥ó¦¨¥ß®É°õ¦æ ¦p¦¹
ElseIf Time >= TimeValue("09:00:00") And Time <= TimeValue("13:32:30") Then
ar = Array([A2], [B2], [C2], [D2], [E2], [F2], [G2], [H2], [I2]) '¥u¦³9Ó¤¸¯À
[A65536].End(xlUp).Offset(1, 0).Resize(, 10) = ar
Application.OnTime Time + TimeSerial(0, 0, 10), "yy" '³o¸Ì´N¤£°õ¦æ¤F
End If- Sub yy()
- With Sheet1
- If Time <= TimeValue("08:59:00") Then
- .Range("A3:I50000") = ""
- Application.OnTime TimeSerial(9, 0, 0), "yy"
- End If
- If Time >= TimeValue("09:00:00") And Time <= TimeValue("13:32:30") Then
- ar = Array(.[A2], .[B2], .[C2], .[D2], .[E2], .[F2], .[G2], .[H2], .[I2],.[J2])
- .[A65536].End(xlUp).Offset(1, 0).Resize(, 10) = ar
- Application.OnTime Time + TimeSerial(0, 0, 10), "yy"
- End If
- End With
- End Sub
- Sub xx()
- With Sheet2
- If Time <= TimeValue("08:44:00") Then
- .Range("A3:J50000") = ""
- Application.OnTime TimeSerial(9, 0, 0), "xx"
- End If
- If Time >= TimeValue("08:45:00") And Time <= TimeValue("13:45:00") Then
- ar = Array(.[A2], .[B2], .[C2], .[D2], .[E2], .[F2], .[G2])
- .[A65536].End(xlUp).Offset(1, 0).Resize(, 7) = ar
- Application.OnTime Time + TimeSerial(0, 1, 0), "xx"
- End If
- End With
- End Sub
½Æ»s¥N½X |
|