Syntax
ToolsOptionsSave [.CreateBackup = number] [, .FastSaves = number] [, .SummaryPrompt = number] [, .GlobalDotPrompt = number] [, .NativePictureFormat = number] [, .EmbedFonts = number] [, .FormsData = number] [, .AutoSave = number] [, .SaveInterval = text] [, .Password = text] [, .WritePassword = text] [, .RecommendReadOnly = number]
Remarks
Sets options for saving documents. The arguments for the ToolsOptionsSave statement correspond to the options on the Save tab in the Options dialog box (Tools menu).
Argument | Explanation | |
.CreateBackup | If 1, creates a backup copy every time you save, and fast saves are not allowed. | |
.FastSaves | If 1, allows fast saves. | |
.SummaryPrompt | If 1, prompts for summary information when you save a new document. | |
.GlobalDotPrompt | If 1 and you make changes to the Normal template, displays a message box asking if you want save the changes when you quit Word; if 0 (zero), changes to the Normal template are saved automatically. | |
.NativePictureFormat | If 1, saves imported graphics in the format of the current platform only (for example, in Windows, saves only the Windows version of graphics imported from the Macintosh). | |
.EmbedFonts | If 1, embeds TrueType fonts when you save. | |
.FormsData | If 1, saves the data entered by a user in a form as a tab-delimited record for use in a database. | |
.AutoSave | If 1, allows automatic saving. | |
.SaveInterval | Specifies the time interval for saving documents automatically, in minutes; available only if .AutoSave has been set to 1. | |
.Password | The password for opening the document. | |
.WritePassword | The password for saving changes to the document. | |
.RecommendReadOnly | If 1, displays a message box upon opening the document suggesting that it be opened as read-only. |
Example
This example sets an interval of 10 minutes between automatic saves:
ToolsOptionsSave .AutoSave = 1, .SaveInterval = "10"
See Also
FileSave, FileSaveAll, FileSaveAs