>I'm working on a Word automation and I'd like to know when the printing job is over in order to avoid the error telling me that thr printing job would be canceled if Word is closed.
>
>
>Thanks in advance for any hints.
>
>
>Oscar Corte
Oscar,
This is how I do it
declare Sleep in Win32api integer
do while !empty(WordObj.Application.BackgroundPrintingStatus)
=Sleep(2000)
enddo
Gregory