Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Drew Capuder Drew Capuder is offline
external usenet poster
 
Posts: 1
Default Content Controls Disappear After Merge

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

  #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



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Content Controls Office_user Microsoft Word Help 1 August 28th 07 02:48 PM
Need Help with Content Controls sncmd_98 Microsoft Word Help 1 June 16th 07 07:30 AM
Content types and content controls Øyvind Skaar Microsoft Word Help 0 May 14th 07 04:17 PM
Merge Field Codes accessing Content Controls Peter Tippett Microsoft Word Help 0 January 12th 07 01:47 AM
Repeating content controls, anyone? [email protected] Microsoft Word Help 1 December 1st 06 01:53 PM


All times are GMT +1. The time now is 12:29 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"