How to wait printing was completed before I close the MSWORD

Rabbit

Member
Hi all,

I have a question, how can I know the printing was completed before I issue the CLOSE() command to the MSWord? Now I am using a very stupid way is to pause my program for a fixed time before I issue the CLOSE command.

Thanks!

Rabbit
 

NickA

Member
I've never used it, but I should think that..

Application.BackGroundPrintingStatus()

..should do the trick?

Apparently it returns the number of active background print jobs as an integer.
 
Top