mail merge?

P

phil2phil

hi,
i wanted to know if it's possible to build an asp.net mail to automate
mail merge with ms word documents. i already have the ms word document
created with the merge fields, currently we go through the mail merge
wizard to select a datasource to merge it with, but i wanted to create
a page with buttons, selecting a certain button would cause the
document to open using a certain datasource, everything would be merged
and ready. is this possible? i've seen some sample code, but it's
always creating the ms word document in the code, i don't need that
it's already created, just a way to launch it from a button and have it
merge to a datasource, datasource would change time to time so that i
can control through web.config when needed.
thanks.
 
T

tdavisjr

Of course there is a way to do it for free. All you have to do is write
it yourself using the Word Object Model which is FREE-ly avaliable.
 
P

Paul Henderson

i wanted to know if it's possible to build an asp.net mail to automate
mail merge with ms word documents

You could probably open the document using Word interop - import
Microsoft.Office.Interop.Word, create an Application, load the
Document, and then use its MailMerge property to do whatever you want.

[Note that Microsoft doesn't really recommend doing stuff with Office
interop on a server, though...]
 

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

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top