Printing word document with parameters.

G

Guest

Our company has been using mailmerge to process multiple form letters for
quite a while now. The requirements are changing now however and it has
become too time consuming and error prone to continue to manually collate the
results of multiple mail merge streams by hand.

We are working on a way to selectively print individual documents and keep
multiple letters and reports in sequence as they are printed. Everything
that needs to go to a single person prints as a group.

Is there a way to automatically pass a set of parameters to a word document
already set up with fields for mail merge, that will fill in the appropriate
fields, and cause the page to be printed without user intervention.

Ideally, this would allow us to select different documents to be printed one
after another automatically, and reduce the manual collation time.

Something like...

print xyz.doc first_name='builder', last_name='bob',city='anytown, usa'
print abc.doc first_name='bart', last_name='simpson', city='apple valley'
....
 
W

Word Heretic

G'day Stuart Dautrich <[email protected]>,

Usually this is done by using the batch VBA on http://word.mvps.org to
process each file in turn, selecting those that are valid. A slightly
faster way is to ensure the document properties are set by the form's
processing and then use DSOFile to read those properties to validate.

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


Stuart Dautrich reckoned:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top