Application.BackgroundSavingStatus Property

Word Developer Reference

Returns the number of files queued up to be saved in the background. Read-only Long.

Syntax

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.

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

See Also