Reputation: 49
I know there is a way to save one file every x minutes by defining it in the file's modules or Worksheets. Here is a code I found:
Sub SaveThis()
Application.DisplayAlerts = False
ActiveWorkbook.Save
Application.DisplayAlerts = True
Application.OnTime Now + TimeValue("00:05:00"), "SaveThis"
End Sub
Question: Is it possible to have this run on any active file? I was trying to use Personal Macro Workbook, but I cannot figure out how to have it automatically run on the open file.
Thanks in advance.
Upvotes: 1
Views: 1470