CHRIS RAE'S VBA PAGES
|Description:||Quit as soon as Word has finished printing. Note that if a problem occurs during the print requiring user intervention, the routine will wait until this is complete. Not much I can do about that, I'm afraid.|
' Routine stuck together by Chris Rae but entirely based
' upon code and ideas from Jonathan West and Astrid. 20/7/99.
Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Do While Application.BackgroundPrintingStatus > 0
You're free to use these routines for anything you want - all I ask is that for commercial use you give me credit somewhere. You may instead want to head back to the index for my Visual Basic for Applications Pages or the main routines archive page.