O
Outatym
I have a pause set up in my code so that once Word has started printing, the
application will not close until the spooling is complete. During this, I
want to have a form show that tells users that their document is spooling and
will be printed shortly. I get the form to show, but Word will hang and not
hide the form or close the application. The VB editor still shows that it is
running even after the document is printed.....below is my code...am I
missing out on something?
********************************
Program Code that runs fine
********************************
PPSForm.Hide
Dialogs(wdDialogFilePrint).Show
PPSPrintForm.Show
ActiveDocument.PrintOut Background:=False
PPSPrintForm.Hide
Application.Quit
End Sub
application will not close until the spooling is complete. During this, I
want to have a form show that tells users that their document is spooling and
will be printed shortly. I get the form to show, but Word will hang and not
hide the form or close the application. The VB editor still shows that it is
running even after the document is printed.....below is my code...am I
missing out on something?
********************************
Program Code that runs fine
********************************
PPSForm.Hide
Dialogs(wdDialogFilePrint).Show
PPSPrintForm.Show
ActiveDocument.PrintOut Background:=False
PPSPrintForm.Hide
Application.Quit
End Sub