Form Fields go missing during Mailmerge

L

Lenny

Is there any way to keep form fields from being deleted or restoring them to
the original document after the mailmerge process?
 
D

Doug Robbins - Word MVP

FormFields and Mail Merge are mutually exclusive. You would have to use a
"roll-your-own" alternative to mail merge using VBA and a Template
containing DOCVARIABLE fields in place of the mail merge main document with
MERGEFIELDS. The VBA code would then iterate through the data source,
creating a new document from the template for each record and creating
variables in that document with the value of each data item in the 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