Application.BackgroundSavingStatus 属性 (Word)Application.BackgroundSavingStatus property (Word)

返回的文件数排队在后台保存。Returns the number of files queued up to be saved in the background. 只读 LongRead-only Long.

语法Syntax

expression.expression. BackgroundSavingStatus

_表达式_代表应用程序对象的变量。expression A variable that represents an 'Application' object.

示例Example

本示例在状态栏中显示当前正在保存的文档数。This example displays in the status bar the number of documents currently being saved.

Options.BackgroundSave = True 
Documents.Add 
ActiveDocument.SaveAs 
 While Application.BackgroundSavingStatus <> 0 
 StatusBar = "Documents remaining to save: " _ 
 & Application.BackgroundSavingStatus 
 DoEvents 
Wend

另请参阅See also

Application 对象Application Object