Word MailMerge does not show print setup dialog

B

Bogdan B.

Hello

I succesfully used MailMerge to create documents filled with data. But
since Office XP, the client have lost the ability to select a printer of their choic
because the print dialog does not show up

The "engine" works with some template documents, and a RTF document containing the data

So, my question is, how can I force Word to show the print dialog when the Destionation of the
MailMerge document is the printer

I tried to make a new document with the results of the mail merge, but, unfortunately, the only
way to get a print dialog is to execute the document's PrintPreview method, and my clients does no
accept this

Can you help me

Thanks in advance
BOGDAN B.
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?Qm9nZGFuIEIu?=,
I succesfully used MailMerge to create documents filled with data. But,
since Office XP, the client have lost the ability to select a printer of their choice
because the print dialog does not show up.
Microsoft changed the way Destination to Printer worked because it just didn't seem
logical to force mail merge to a new document and then print it out in order to avoid
showing this dialog box. One of those situations where one just can't win...

So, yes, you do need to merge to a new document. And since you're using code to do so,
you can force display of the dialog box once the merge is completed. I highly recommend
you to use the MailMergeAfterMerge event, since this does return a Document object (the
result document). To force display of the dialog box and allow it to execute normally:
WordApp.Dialogs(wdDialogFilePrint).Show

Use the .Display method, instead, if you need to handle the printing in code.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply in the
newsgroup and not by e-mail :)
 

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