A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to run word and pass a data table as argument to mailmerge



 
 
Thread Tools Display Modes
  #1  
Old June 12th, 2004, 03:16 AM
Belinda
external usenet poster
 
Posts: n/a
Default How to run word and pass a data table as argument to mailmerge

Hello All

I have the following requirement:

- I have a standard template document
I have a table in SQL Server that as some information that I want to
be substituted into this word template and the documents must be
generated to be sent by email.

Please advise what is the best way to implement this scenario.

In brief I want to create a template word file and a seperate data
table this must be mail merged and resultant output documents
generated. I want to email these documents to the receipients.

Please note I would like to start word from command line and pass the
template file and the mail merge list as well. I would like to call
word from SQL Server DTS tasks so only way I can do it is by calling
it in batch mode.

Please provide the command line syntax to invoke word and pass these
arguments.

Thanks
Belinda
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:27 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.