Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word - Automatically merge data and show merged result
Message
From
23/02/2009 05:44:32
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00801933
Message ID:
01383432
Views:
70
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform