How do I remove the path to the header source

G

GMG

How can I programmatically remove the path to the header source. I only want
to provide a data source because if both are present the first record
becomes the header fields.
 
P

Peter Jamieson

As far as I know you can only remove it by setting the
MailMerge.MainDocumentType to wdNotAMergeDocument, in which case you will
also lose your data source (including sorts/filters) and would need to set
it up again. You would also need to restore the Mail Merge document type and
probably any predefined destination.
 
Top