- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 81
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2025-4-5
               
|
¦^´_ 13# 7777
³o¼Ë¸Õ¸Õ¬Ý- Dim i As Single
- Private Sub Workbook_Open()
- Application.OnTime TimeValue("08:45:00"), "ThisWorkBook.ExeSelf"
- End Sub
- Private Sub ExeSelf()
- On Error Resume Next
- If TimeValue(Now) > TimeValue("13:45:00") Then Exit Sub
- i = i + 1
- If i = 1 Then
- Sheets(1).Cells(1, 1) = Date
- i = i + 1
- End If
- Sheets(1).Cells(i, 2) = Time
- Sheets(1).Cells(i, 3) = Sheets(2).Cells(2, 1)
- Sheets(1).Cells(i, 4) = Sheets(2).Cells(2, 2)
- Sheets(1).Cells(i, 5) = Sheets(2).Cells(2, 3)
- Sheets(1).Cells(i, 6) = Sheets(2).Cells(2, 4)
- Application.OnTime Now + TimeValue("00:00:05"), "ThisWorkBook.ExeSelf"
- End Sub
½Æ»s¥N½X |
|