Skip to content

Latest commit

 

History

History
53 lines (24 loc) · 1.22 KB

02fb24e7-4823-7e52-79d7-3d2726f31227.md

File metadata and controls

53 lines (24 loc) · 1.22 KB

AutoRecover Object (Excel)

Represents the automatic recovery features of a workbook.

Remarks

Properties for the AutoRecover object determine the path and time interval for backing up all files.

Use the AutoRecover property of the Application object to return an AutoRecover object.

Use the Path property of the AutoRecover object to set the path for where the AutoRecover file will be saved.

Example

The following example sets the path of the AutoRecover file to drive C.

Sub SetPath() 
 
 Application.AutoRecover.Path = "C:\" 
 
End Sub

Use the Time property of the AutoRecover object to set the time interval for backing up all files.

Note Units for the Time property are in minutes.

Sub SetTime() 
 
 Application.AutoRecover.Time = 5 
 
End Sub

See also

Other resources

AutoRecover Object Members Excel Object Model Reference