편집

다음을 통해 공유


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

Application Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.