Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Automation -- Bookmarks vs. MailMergeFields
Message
De
09/09/1998 00:21:34
 
 
À
05/09/1998 18:28:56
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00131232
Message ID:
00134332
Vues:
22
>Try this: goWord.Dialogs(88).Execute() - this executes the print dialog box, without showing it. use .show() to show it. You can set things like duplex, page-range, numCopies at this object too!
>
>Tim

Thanks,Tim! That did the trick. Here is my final code fragment:
with goword.activedocument
    .mailmerge.execute()
    .goword.dialogs(wdDialogFilePrint).execute()    && 88
endwith
No errors. No prompts to the user. And no sign of Word! Just a nicely formatted form letter coming out of the printer.

Peter Robinson
Peter Robinson ** Rodes Design ** Virginia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform