CreateBackup Property

Microsoft Word Visual Basic

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

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.

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.

Dim blnBackup As Boolean

blnBackup = Options.CreateBackup