Command line argument for mail merging

  • Thread starter Thread starter Chellammal
  • Start date Start date
C

Chellammal

Hi All,
I have data in text file and word template with letter
format including mergefield. I want to pass the command line argument to
generate mail merging instead of using the 6 steps to do.

for example, I should need like
WinWord name.dot c:\test.txt -s new.doc


Any suggestion would be greatly appreciated.

Regards,
A.Chellammal
 
Hi Chellammal,
I have data in text file and word template with letter
format including mergefield. I want to pass the command line argument to
generate mail merging instead of using the 6 steps to do.

for example, I should need like
WinWord name.dot c:\test.txt -s new.doc
Nothing like this exists for Word, I'm afraid. But you can reduce the six
steps to one. Display the Mail Merge toolbar, then simply click the
appropriate button to merge to a new document.

Even quicker would be an AutoOpen macro that will execute when the
document is opened. But macro security might be a problem?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
 
Back
Top