Hi,
I recorded a macro fdoing a mailmerge and tried to cusomize it so I could
use the code for different files.
The data file is a txt file with no headers and uses ";" as seperator.
When I look at the application.mailinglabel.createnewdocument instruction I
see that thez address paameter contains the data from ther first record.
I intend to use different datafiles to merge with a standard document,
should I add headers to the datafiles or is there another approach?
I checked out "word.mvps.org" which contains a lot of info on mailmerging,
but none about mailmerging in VBA.
Can someone put me back on track please.
Thanks,
Romain
Doug Robbins - 04 Jun 2005 07:35 GMT
Check out the .MailMerge item in the Visual Basic help file. Type
ActiveDocument.MailMerge and then press F1

Signature
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
> Hi,
>
[quoted text clipped - 17 lines]
>
> Romain