Field Codes converting to regular text upon merge

B

Bennett W.

I have a document where I have created cross-references to captions that have
SEQ fields (using Word 2003). Whenever I merge to the document, the SEQ
fields and the REF fields convert to regular text. How can I preserve the
automation afforded by the field codes after a merge?
 
D

Doug Robbins - Word MVP

For good reasons, there are a number of fields that are converted to text by
the mail merge process.

The alternative is to use VBA to create a "roll-your-own" equivalent to
mailmerge where in place of the mail merge main documnet you use a template
containing docvariable fields instead of merge fields as in a main document
and you use VBA code to interate through the data source, creating a new
document from the template for each record and populating variables in that
document with the values from the fields for the current record and then
updating the fields in the document so that they shown the data from the
record before saving and closing the document before moving on to the next
record.

--
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
 

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

Top