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. BackgroundSavingStatus

expression:表示“Application”对象的变量。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

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.