J
Julia
Hi-
I am using Word 2007 to generate letters from a 3rd party program via the
merge feature.
There is a library of letters the user can choose from in the other
software. Multiple letters can be selected, and put in a queue. The user also
chooses record(s) to run the merge on.
On the Word side, I open a "standard" template which contains fieldcodes for
all of the data fields and run a macro which does the following:
1. Loads the record data fields into memory
2. Nests the letter template(s) into the "standard" template based on a
field code which references which letter(s) should be used.
3. Populates the fields in the letter(s) based on the data loaded in step 1.
Generally, this works fine. However, I now need to generate a letter that
contains a first page in portrait mode, second page landscape; plus a
watermark that does not print on the first page but prints on subsequent
pages. I have created a letter template with these features, and if I do a
manual merge, it runs fine and looks great. However, if I do the merge the
automated way through the macro, I lose the special formatting in my letter-
I suspect because the formatting in my "standard" template is overwriting it.
I know this is really complicated. :-( Anyone have any ideas how to preserve
the formatting in a nested document in a merge?
TIA-
Julia
I am using Word 2007 to generate letters from a 3rd party program via the
merge feature.
There is a library of letters the user can choose from in the other
software. Multiple letters can be selected, and put in a queue. The user also
chooses record(s) to run the merge on.
On the Word side, I open a "standard" template which contains fieldcodes for
all of the data fields and run a macro which does the following:
1. Loads the record data fields into memory
2. Nests the letter template(s) into the "standard" template based on a
field code which references which letter(s) should be used.
3. Populates the fields in the letter(s) based on the data loaded in step 1.
Generally, this works fine. However, I now need to generate a letter that
contains a first page in portrait mode, second page landscape; plus a
watermark that does not print on the first page but prints on subsequent
pages. I have created a letter template with these features, and if I do a
manual merge, it runs fine and looks great. However, if I do the merge the
automated way through the macro, I lose the special formatting in my letter-
I suspect because the formatting in my "standard" template is overwriting it.
I know this is really complicated. :-( Anyone have any ideas how to preserve
the formatting in a nested document in a merge?
TIA-
Julia