Application.AutoRecover property (Excel)

Returns an AutoRecover object, which backs up all file formats on a timed interval.



expression A variable that represents an Application object.


Valid time intervals are whole numbers from 1 to 120.


In this example, the Time property is used in conjunction with the AutoRecover property to set the time interval for Microsoft Excel to wait before saving another copy to five minutes.

Sub UseAutoRecover() 
 Application.AutoRecover.Time = 5 
 MsgBox "The time that will elapse between each automatic " & _ 
 "save has been set to " & _ 
 Application.AutoRecover.Time & " minutes." 
End Sub

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.