Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / February 2008

Tip: Looking for answers? Try searching our database.

Content Controls Disappear After Merge

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Drew Capuder - 28 Feb 2008 03:45 GMT
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
d.capuder@att.net
Doug Robbins - Word MVP - 28 Feb 2008 05:12 GMT
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.

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

>I have several Word 2007 forms that are macro enabled, so they have the
>docm
[quoted text clipped - 25 lines]
> Drew Capuder
> d.capuder@att.net
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.