H
happysad
Hi,
I am creating some templates in Word 2007 that have space in the header for
the user to enter - stuff like "Project", "Group", "Meeting date" and so on.
The header on the first page contains more information than the following
headers. So there are two different headers, requiring the user to enter some
of the data twice. I need a way to copy the shared data from the first to the
following headers, so he only needs to enter it once.
Stuff I've tried:
1. STYLEREF field: doesn't work from headers, only from the main document.
2. Content control linked to the 15 Document properties (Quickparts): Works
great in the template, but doesn't work in the document created from the
template.
3. OLE Link: Works in the template, but not in the document created from the
template - referenced (template) file cannot be found.
4. Content controls and a VBA macro using the event
Document_ContentControlOnExit
to copy data between controls with the same title. Works great in the
template, but the macro doesn't run in the document created from the
template. If I add the macro to Normal.dotm, it also doesn't work. But, if I
create the document from the template, then save it as a macro-enabled
document (.docm), close it, re-open, then it works. The template macro runs.
But this is not really satisfactory...
Can you help me?
I am creating some templates in Word 2007 that have space in the header for
the user to enter - stuff like "Project", "Group", "Meeting date" and so on.
The header on the first page contains more information than the following
headers. So there are two different headers, requiring the user to enter some
of the data twice. I need a way to copy the shared data from the first to the
following headers, so he only needs to enter it once.
Stuff I've tried:
1. STYLEREF field: doesn't work from headers, only from the main document.
2. Content control linked to the 15 Document properties (Quickparts): Works
great in the template, but doesn't work in the document created from the
template.
3. OLE Link: Works in the template, but not in the document created from the
template - referenced (template) file cannot be found.
4. Content controls and a VBA macro using the event
Document_ContentControlOnExit
to copy data between controls with the same title. Works great in the
template, but the macro doesn't run in the document created from the
template. If I add the macro to Normal.dotm, it also doesn't work. But, if I
create the document from the template, then save it as a macro-enabled
document (.docm), close it, re-open, then it works. The template macro runs.
But this is not really satisfactory...
Can you help me?