Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
You can use Aspose.Cells to set the AutoRecover property of a workbook. The default value of this property is true. When you set it to false on a workbook, Microsoft Excel disables AutoRecover (Autosave) for that Excel file.
Aspose.Cells provides the Workbook.Settings.AutoRecover property to enable or disable this option.
The following code demonstrates how to use the Workbook.Settings.AutoRecover property of the workbook. The code first reads the default value of this property (which is true), then sets it to false and saves the workbook. It then reloads the workbook and reads the property value, which is now false.
Here is the console output of the above sample code.
AutoRecover: True
AutoRecover: FalseAnalyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.