Share via


Workbook.EnableAutoRecover Property

Gets or sets a value that indicates whether Microsoft Office Excel saves changed files, of all formats, on a timed interval.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
Property EnableAutoRecover As Boolean
    Get
    Set
bool EnableAutoRecover { get; set; }

Property Value

Type: System.Boolean
true if Excel saves changed files on a timed interval; otherwise, false.

Remarks

If Excel fails, the system fails, or if the system is improperly shut down (not allowing Excel to save the changed files), the backed up files are opened and the user has an opportunity to save changes that otherwise would have been lost. When the user restarts Excel, a document recovery window opens, giving the user an option to recover the files they were working on.

.NET Framework Security

See Also

Reference

Workbook Interface

Microsoft.Office.Tools.Excel Namespace