Re: Creating many letters(mail merge) from a single template in C#
- From: Cindy M -WordMVP- <C.Meister-C@xxxxxxxxxx>
- Date: Thu, 13 Apr 2006 19:22:22 +0200
Hi =?Utf-8?B?TWlrZTk5MDA=?=,
I meant how to create mail merge from a template programmatically using C#.Please explain WHY? You still haven't answered the concerns with your problem
We can create mail merge without using a template, but using a template is a
problem.
description I stated in my first reply.
Taking your statement literally, it basically goes like this:
Word.Document doc = wdApp.Documents.Add(full path to template and all other
params here)
doc.MailMerge.OpenDataSource(all params here)
doc.MailMerge.Execute(params)
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 :-)
.
- References:
- Re: Creating many letters(mail merge) from a single template in C#
- From: Cindy M -WordMVP-
- Re: Creating many letters(mail merge) from a single template in C#
- Prev by Date: Re: Creating many letters(mail merge) from a single template in C#
- Next by Date: Re: Creating Mail Merge from a Template using C#
- Previous by thread: Re: Creating many letters(mail merge) from a single template in C#
- Next by thread: Re: Creating many letters(mail merge) from a single template in C#
- Index(es):
Relevant Pages
|
Loading