BackgroundSavingStatus Property

Microsoft Word Visual Basic

BackgroundSavingStatus Property

       

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

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