How to Set AutoRecover Property of Workbook

The following code explains how to use the Workbook.settings.auto_recover property of the workbook. The code first reads the default value of this property, which is true, then it sets it to false and saves the workbook. Afterwards, it reads the workbook again and obtains the value of this property, which is false at that time.

Python code to set the AutoRecover property of Workbook

Output

Here is the console output of the above sample code.

AutoRecover: True

AutoRecover: False