I have an open document that I want printed and then closed. here is the code

VB Code:
  1. ActiveDocument.PrintOut
  2.     Kill "temp.doc"
  3.     ActiveDocument.Close False
  4.     Application.Quit False

I want it to print the active document, delete the temp.doc file, close the document and then close word.The problem is it all happens too fast that it doesn't print the active document.

Any ideas on how to do this?