Düzenle

Aracılığıyla paylaş


Options.CreateBackup property (Word)

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.

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

See also

Options Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.