K
Kevin Mitchell
In VBA or VB can someone please tell me how to check my previously created
word application object to see if there are any pending print jobs?
wrdApp.Visible = False
'check for pending print jobs here and then if no pending print jobs
then quit
wrdApp.Quit
Set wrdApp = Nothing
Basically what I am doing is print a word report and then closing the report
imediately afterwards. The problem is that the print job is still pending
when I try to close word so I need to check if there is a print job pending
before closing and then close the document once there are no print jobs
pending.
Thanks in advance!
Kevin
word application object to see if there are any pending print jobs?
wrdApp.Visible = False
'check for pending print jobs here and then if no pending print jobs
then quit
wrdApp.Quit
Set wrdApp = Nothing
Basically what I am doing is print a word report and then closing the report
imediately afterwards. The problem is that the print job is still pending
when I try to close word so I need to check if there is a print job pending
before closing and then close the document once there are no print jobs
pending.
Thanks in advance!
Kevin