J
Jonathan West
Hi Félix
This is the problem line
moWordApp.ActiveDocument.PrintOut Background:=True,
Range:=wdPrintCurrentPage, Item:=wdPrintDocumentContent
Change Background:=True to Background:=False
The problem is that Word is getting closed before the background print is
given a chance to complete.
Take a look here for more on the issue
How to find out whether Word has finished printing
http://www.mvps.org/word/FAQs/MacrosVBA/WaitForPrint.htm
--
Regards
Jonathan West - Word MVP
MultiLinker - Automated generation of hyperlinks in Word
Conversion to PDF & HTML
http://www.multilinker.com
This is the problem line
moWordApp.ActiveDocument.PrintOut Background:=True,
Range:=wdPrintCurrentPage, Item:=wdPrintDocumentContent
Change Background:=True to Background:=False
The problem is that Word is getting closed before the background print is
given a chance to complete.
Take a look here for more on the issue
How to find out whether Word has finished printing
http://www.mvps.org/word/FAQs/MacrosVBA/WaitForPrint.htm
--
Regards
Jonathan West - Word MVP
MultiLinker - Automated generation of hyperlinks in Word
Conversion to PDF & HTML
http://www.multilinker.com