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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top