Sub P1()
Dim i As Integer
With ThisWorkbook.Sheets(1)
For i = 1 To 5
.Cells(i, 1).Value = Format(Now, "ss")
Application.Wait (Now + TimeValue("00:00:01"))
Next i
Workbooks("Open.xlsm").Sheets(1).Range("A:A").Value = .Range("A:A").Value
End With
Application.Run "Open.xlsm!P1e" '<----有跳到下面的P1e 執行,但是Workbooks.Open Filename:="D:\自動化執行\P2.xlsm"<----沒跑這個