This documentation is archived and is not being maintained.

Options.CreateBackup Property

Office 2007
True if Word creates a backup copy each time a document is saved. Read/write Boolean.

Syntax

expression.CreateBackup

expression   A variable that represents a Options object.

Remarks

The CreateBackup and AllowFastSave properties cannot be set to True concurrently.

Example

This example sets Word to automatically create a backup copy, and then it saves the active document.

Visual Basic for Applications
Options.CreateBackup = True
ActiveDocument.Save

This example returns the current status of the Always create backup copy option on the Save tab in the Options dialog box.

Visual Basic for Applications
Dim blnBackup As Boolean

blnBackup = Options.CreateBackup



Show: