Re: Mail Merge to New Document Shows Word Application
- From: Dean Price <DeanPrice@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 20 Nov 2007 01:29:00 -0800
Hi,
Although this is very useful, I am attempting to do this automatically froma
VB .NET application.
I guess I have two questions, can I use this code directly in VB .NET using
the Word Interop or secondly can I call the macro from automation code. My
preferred choice would be to do this via .NET code as I will be using at
least 2 different versions of Word.
Kindest Regards,
Dean
"Doug Robbins - Word MVP" wrote:
See the "Individual Merge Letters" item on fellow MVP Graham Mayor's website.
at:
http://www.gmayor.com/individual_merge_letters.htm
If you are using Word XP or later, the "Add-in to Merge Letters to Separate
Files" that I have written and that can be downloaded from that site will
allow you to create each letter as a separate file with a filename taken
from a field in the data source with a minimum of fuss.
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
"Dean Price" <Dean Price@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:051B0ADF-8512-4263-ACCD-33E87B986CE8@xxxxxxxxxxxxxxxx
Hi,
I am automating a mail-merge which works fine. The snag I have is that I
need to also store each individual document in order for a Document
Management System to read in and store in its database. The way in which I
have gotten round this is by creating individual merge results for each
record and then producing the whole datasource and merging at the end, all
works fine.
However, when I execute a merge to a new document which shows the Word
application and documents even though I have already set the .Visible
property to false.
My question is, is there a better way of saving a merge result to
individual
documents or if not how can I prevent word from showing when I execute to
a
new document?
Regards,
Dean
- References:
- Re: Mail Merge to New Document Shows Word Application
- From: Doug Robbins - Word MVP
- Re: Mail Merge to New Document Shows Word Application
- Prev by Date: Re: Rounding using Numeric Switch
- Next by Date: How do i format mailing labels -fonts in word 2007 from outlook
- Previous by thread: Re: Mail Merge to New Document Shows Word Application
- Next by thread: Re: Inserting Word Fields
- Index(es):
Relevant Pages
|