K
Keith
Hi,
I've got a Word Doc that I'm using as a template for a mail merge
(MyTemplate.Doc). I'm using a text file for the data records (MyData.txt).
I need to automate the following tasks:
1. Open MyTemplate.Doc
2. Select a specific printer (HP LJ 9050DN PCL 6)
3. Set the page size to 11X17
4. Set the duplexing to Vertical
5. Set the Orientation to Landscape
6. Perform the Mail Merge
7. Print the newly merged document
8. Save the newly merged document using a filename parameter supplied by VB
9. Close both documents
I've been able to perform some of the above tasks (1, 6, 9) but I could use
some help on the others. Thanks for any help.
Keith
I've got a Word Doc that I'm using as a template for a mail merge
(MyTemplate.Doc). I'm using a text file for the data records (MyData.txt).
I need to automate the following tasks:
1. Open MyTemplate.Doc
2. Select a specific printer (HP LJ 9050DN PCL 6)
3. Set the page size to 11X17
4. Set the duplexing to Vertical
5. Set the Orientation to Landscape
6. Perform the Mail Merge
7. Print the newly merged document
8. Save the newly merged document using a filename parameter supplied by VB
9. Close both documents
I've been able to perform some of the above tasks (1, 6, 9) but I could use
some help on the others. Thanks for any help.
Keith