Partager via


Application.BackgroundPrintingStatus Property (Word)

Returns the number of print jobs in the background printing queue. Read-only Long.

Syntax

expression .BackgroundPrintingStatus

expression A variable that represents an Application object.

Example

This example returns the number of Word print jobs currently queued up for background printing.

Dim lngStatus As Long 
 
If Options.PrintBackground = True Then 
 lngStatus = Application.BackgroundPrintingStatus 
End If

If the number of print jobs is greater than 0 (zero), this example displays a message in the status bar.

If Application.BackgroundPrintingStatus > 0 Then 
 StatusBar = Application.BackgroundPrintingStatus _ 
 & " print jobs are queued up" 
End If

See Also

Concepts

Application Object Members

Application Object