Dim actual
Sub Backup_everyhour()
Dim wPath As String
wPath = ThisWorkbook.Path & "\" & Format(Now(), "hh") & "\"
ThisWorkbook.SaveCopyAs wPath & ThisWorkbook.Name & ".xlsm"
actual = Now
Application.OnTime earliesttime:=actual + TimeValue("01:00:00"), Procedure:="Backup_everyhour", schedule:=True
End Sub
Sub start()
Call Backup_everyhour
End Sub
Sub finish()
On Error Resume Next
Application.OnTime earliesttime:=actual + TimeValue("00:00:05"), Procedure:="Backup_everyhour", schedule:=[COLOR=#0000ff]False[/COLOR]
End Sub