共用方式為


WorkbookBase.EnableAutoRecover Property

Definition

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

public:
 property bool EnableAutoRecover { bool get(); void set(bool value); };
public bool EnableAutoRecover { get; set; }
member this.EnableAutoRecover : bool with get, set
Public Property EnableAutoRecover As Boolean

Property Value

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.

Applies to