Workbook.EnableAutoRecover Property (2007 System)

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.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
Public Property EnableAutoRecover As Boolean
'Usage
Dim instance As Workbook 
Dim value As Boolean 

value = instance.EnableAutoRecover

instance.EnableAutoRecover = value
public bool EnableAutoRecover { get; set; }
public:
property bool EnableAutoRecover {
    bool get ();
    void set (bool value);
}
public function get EnableAutoRecover () : boolean 
public function set EnableAutoRecover (value : boolean)

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 Class

Workbook Members

Microsoft.Office.Tools.Excel Namespace