Re: Mail Merge to New Document Shows Word Application



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




.



Relevant Pages

  • Re: Rule to save a file
    ... The point is when I get the message, a procedure will store the file ... without an automation, I'm obliged to check when ever I receive a message if ... >> specific disk folder when it's received into my inbox? ...
    (microsoft.public.outlook)
  • Storing generic objects in workbook via automation
    ... I am accessing MS Excel via automation from C# module. ... occasional data in an Excel workbook, ... store it in a custom DocumentProperty. ... generic objects and I serialized my object into string. ...
    (microsoft.public.excel.programming)
  • Re: VFP Excel probelm
    ... I have some data that I'm importing from an excel file using office ... automation. ... The name of one store is TRUE ...
    (microsoft.public.fox.programmer.exchange)
  • VFP Excel probelm
    ... I have some data that I'm importing from an excel file using office ... automation. ... The name of one store is TRUE ...
    (microsoft.public.fox.programmer.exchange)
  • Re: firewall setup and whois for blacklisting IPs
    ... I don't use any automation, I just look at the auth ... settings to include illegal user attempts in the security mailing - ... When I used ipfw, I did keep the blocked lists in a separate file, ...
    (freebsd-questions)