Application.BackgroundPrintingStatus プロパティ (Word)

バック グラウンド印刷キューで印刷ジョブの数を返します。 取得のみ可能な Long 値です。

構文

expression. BackgroundPrintingStatus

expressionApplicationオブジェクトを表す変数 。

次の使用例は、バックグラウンド印刷の待ち行列に現在登録されている Word の印刷ジョブの数を取得します。

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

次の使用例は、印刷ジョブ数が 1 以上の場合は、ステータス バーにメッセージを表示します。

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

関連項目

Application オブジェクト

サポートとフィードバック

Office VBA またはこの説明書に関するご質問やフィードバックがありますか? サポートの受け方およびフィードバックをお寄せいただく方法のガイダンスについては、Office VBA のサポートおよびフィードバックを参照してください。