Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Automation -- Bookmarks vs. MailMergeFields
Message
From
09/09/1998 00:21:34
 
 
To
05/09/1998 18:28:56
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00131232
Message ID:
00134332
Views:
23
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform