SaveInterval Property

Microsoft Word Visual Basic

SaveInterval Property

       

Returns or sets the time interval in minutes for saving AutoRecover information. Read/write Long.

expression.SaveInterval

expression   Required. An expression that returns an Options object.

Remarks

Set the SaveInterval property to 0 (zero) to turn off saving AutoRecover information.

Example

This example sets Word to save AutoRecover information for all open documents every five minutes.

Options.SaveInterval = 5

This example prevents Word from saving AutoRecover information.

Options.SaveInterval = 0

This example returns the current status of the Save AutoRecover info every option on the Save tab in the Options dialog box (Tools menu).

temp = Options.SaveInterval