views:

426

answers:

0

Hello,

I'm looking for a way to use Word mail merge for sending merged documents to a webservice I'm using. This webservice accepts word documents. I would like to start a regular mail merge process, design my document, add a recipient list and merge fields. Then I would like to click a button which will cause Word to generate each document as a seperate one and for each document make a SOAP web service request that will deposit that file.

For example, if my list contains 50 recipients and I have a one page document, I would like to make 50 requests, each providing a one page document.

This is somewhat similar to the "Internet Fax" option, where each merged document is sent to an online faxing service's webservice.

Any idea how to imlement such a solution? I'm Using VS2008 SP1 PRO .NET 3.5, Word 2007, VB.NET. Thanks!