Share via


Application.BackgroundPrintingStatus Property

Word Developer Reference

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.

Visual Basic for Applications
  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.

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

See Also