想請問大大原本記錄方式
欄位 B14 10:00
B15 10:01
B16 10:02
B17 10:03
程式如下我改如何修改
Sub VB1自動記錄()
If uMode = 0 Then Exit Sub
If Time > TimeValue(EndTime) Then
Sht1.[A4] = "休息"
uMode = 0
Exit Sub
End If
'----------------------------------------------------------------------
Sht1.Range("B13") = Time
If Second(Time) = 0 And Minute(Time) Mod 1 = 0 Then
xRow = Sht1.Range("A65536").End(xlUp).Row + 1
If xRow < 14 Then xRow = 14
Sht1.Range("A" & xRow & ":CZ" & xRow).Value = Sht1.Range("A13:CZ13").Value