Word) (Application.BackgroundPrintingStatus 屬性

會傳回背景列印佇列中的列印工作數目。 唯讀的 Long

語法

expressionBackgroundPrintingStatus

expression 代表 Application 物件的變數。

範例

此範例會傳回目前置入佇列中等待進行背景列印的 Word 列印工作數目。

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

此範例會在列印工作數大於 0 (零) 時,在狀態列中顯示訊息。

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

另請參閱

Application 物件

支援和意見反應

有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應