printing a Word document with the print dialog

J

Jon Kruger

Hello everyone,

I'm using Word automation to print a Word document, which I do by calling
Document.PrintOut(). This prints the document without bringing up the print
dialog.

Is there some way that I can bring up the print dialog so that they can
change the print settings before the document gets printed?
 
J

Jonathan West

Jon Kruger said:
Hello everyone,

I'm using Word automation to print a Word document, which I do by calling
Document.PrintOut(). This prints the document without bringing up the
print
dialog.

Is there some way that I can bring up the print dialog so that they can
change the print settings before the document gets printed?

Instead of ActiveDocument.Printout, use this line

Dialogs(wdDialogFilePrint).Show
 
J

Jon Kruger

In case anyone was wondering, Dialogs is a property on the
Microsoft.Office.Interop.Word.Application object.
 
Top