c# word automation

G

Guest

I have created a C# Windows form that performs a mail merge, however, I want
to access the resulting document and save it and close word. The code I am
using closes the original document and the data document leaving me no handle
to the result.

I am using

wrdMailMerge.Destination= Word.WdMailMergeDestination.wdSendToNewDocument;

wrdMailMerge.Execute(ref oFalse);

to perform the merge.

How do I access the wdSendToNewDocument properties?
 
K

Karl Seguin

Andy:
You might be better off posting this in the WinForms newsgroup:
microsoft.public.dotnet.framework.windowsforms

Or
microsoft.public.word.mailmerge.fields

karl
 

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

Members online

No members online now.

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,113
Latest member
Vinay KumarNevatia
Top