Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word - Automatically merge data and show merged result
Message
De
23/02/2009 05:44:32
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00801933
Message ID:
01383432
Vues:
69
>Thanks so much for your quick and knowledgable response. What code would I add to have Word run in the background, execute the merge and print the merged document directly to a printer?
>
>Thanks again!
>
>Chaim
#DEFINE wdSendToNewDocument	0	
#DEFINE wdSendToPrinter	1	
#DEFINE wdSendToEmail	2	
#DEFINE wdSendToFax	3	

oWord.Options.PrintBackground = .T.

...Mailmerge.Destination = wdSendToPrinter
...Mailmerge.Execute
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform