
Signature
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
Thanks Jay & Helmut
I'll try that on Monday, when I get to work.
Henry
> Hi Henry,
>
> see help for: "application.backgroundprintingstatus", hopefully.
Alex Ivanov - 05 Feb 2006 06:59 GMT
Keep in mind that checking Backgroundprintingstatus in some (rare) cases
causes infinite loop.
It never changes to 0, and may produce no printouts until you press
ctrl-break.
Neither doevents nor Sleep inside the loop helps, if this happens.

Signature
Please reply to NG only. This email is not monitored.
Alex.
> Thanks Jay & Helmut
>
[quoted text clipped - 5 lines]
>>
>> see help for: "application.backgroundprintingstatus", hopefully.
Jonathan West - 06 Feb 2006 11:01 GMT
> Thanks Jay & Helmut
>
> I'll try that on Monday, when I get to work.
You should take a look at this article
How to find out whether Word has finished printing
http://www.word.mvps.org/FAQs/MacrosVBA/WaitForPrint.htm

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
Henry - 10 Feb 2006 00:33 GMT
>> Thanks Jay & Helmut
>>
[quoted text clipped - 4 lines]
> How to find out whether Word has finished printing
> http://www.word.mvps.org/FAQs/MacrosVBA/WaitForPrint.htm
Thanks all,
Jay's solution works just fine, thank you Jay.
I'll bear in mind Alex's warning, but it doesn't seem to be a problem ATM.
I went to your link, Jonathan, but it seems to say that 'Background:=False'
is the preferred way to do it.
Once again, thanks all.
Henry