Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Content controls and repeating data - any new insights?
I spent the whole afternoon trying to get a template to work in which I would
like the date and document title to be repeated on every page using content controls. I found a number of solutions, ranging from using the document properties (most common solution) to adding specific VB code to the template. While Greg Maxey's renowned "Repeating Data (Section 7)" is very helpful, in the end all these solutions fail to explain how Word 2007's integrated templates succeed in repeating data without needed any of these solutions. I had a closer look at one of the standard templates, namely the "Equity Report": the title and date controls are replicated throughout the document, and changing the value of any of them instantly updates all the others. The document does not contain any bookmarks, and no custom VB code either as far as I could see. Some of the controls do not even have a title or tag and are still updated automagically... I am at a complete loss to explain this. Any ideas, anyone? It is very frustrating not being able to do the same without reverting to hacks :| |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Content controls and repeating data - any new insights?
Have a look at another of Greg's pages,
http://gregmaxey.mvps.org/Mapped_Content_Control.htm. The thing that makes the content controls repeat data is that they're linked to the same piece of XML in the document. While you could possibly do this "by hand", Greg's add-in makes it a pushbutton operation. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. Flamingo9000 wrote: I spent the whole afternoon trying to get a template to work in which I would like the date and document title to be repeated on every page using content controls. I found a number of solutions, ranging from using the document properties (most common solution) to adding specific VB code to the template. While Greg Maxey's renowned "Repeating Data (Section 7)" is very helpful, in the end all these solutions fail to explain how Word 2007's integrated templates succeed in repeating data without needed any of these solutions. I had a closer look at one of the standard templates, namely the "Equity Report": the title and date controls are replicated throughout the document, and changing the value of any of them instantly updates all the others. The document does not contain any bookmarks, and no custom VB code either as far as I could see. Some of the controls do not even have a title or tag and are still updated automagically... I am at a complete loss to explain this. Any ideas, anyone? It is very frustrating not being able to do the same without reverting to hacks :| |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Content controls and repeating data - any new insights?
Ok, that makes sense - I just wonder how you link them, or how you can see
what piece of data they are linked to. As I mentioned, one of the controls in the "Equity Report" template does not even have a title or tag assigned to it. Is it possible this is something that happens behind the scenes when you have copied a control? I'll install Greg's Add-In anyway and see how that works out. Thanks! "Jay Freedman" wrote: Have a look at another of Greg's pages, http://gregmaxey.mvps.org/Mapped_Content_Control.htm. The thing that makes the content controls repeat data is that they're linked to the same piece of XML in the document. While you could possibly do this "by hand", Greg's add-in makes it a pushbutton operation. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Content Controls | Microsoft Word Help | |||
Content Controls | Microsoft Word Help | |||
Content Controls | Microsoft Word Help | |||
Content types and content controls | Microsoft Word Help | |||
Repeating content controls, anyone? | Microsoft Word Help |