View Single Post
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Content Controls Disappear After Merge

A mapped content control (see Greg Maxey's article
http://gregmaxey.mvps.org/Mapped_Content_Control.htm ) does appear to
survive the execution of the mailmerge. I assume however that you will be
wanting the content controls in the document created by executing the mail
merge to act independently of one another - that is in the Sections of the
document created for each record in the data source, data entered into a
content control in one section, should not be replicated to the
corresponding content controls in the other Sections of the document. The
work around for that would be to use the addin available from
http://www.gmayor.com/individual_merge_letters.htm to execute the merge to
separate documents.


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

"Drew Capuder" Drew wrote in message
...
I have several Word 2007 forms that are macro enabled, so they have the
docm
extension. They are merge forms that pull data from a law office
managerment
program called TimeMatters.

The forms each use several instances of the "Rich Text" and "Date Picker"
content controls. I have copied code from this site:
http://gregmaxey.mvps.org/Repeating_Data.htm
and the code automatically updates the content controls with the same
name.

Everything works perfecttly when I have the forms open. The Content
Controls
are usable and the contents of the controls updates automatically (based
on
the code).

But then when I run a merge with the form, the resulting document strips
out
the content controls, leaving only whatever text or prompt had been in the
content control (such as "enter text here"). In other words, the content
control disappears, leaving only whatever text had been entered into the
content control before the merge.

Any ideas? Any help would be greatly appreciated.

Drew Capuder