Mail Merge Formatting Issue with Conditional IFs
I am working with an old document (.doc) using a bunch of conditional IFs to create letters for a list of people.
The letters template fills out their address, name etc no problem. The issue is for the body we are using an INCLUDETEXT field to select which letter to include.
These letters are already written and formatted in another document.
The issue:
When we run the mail merge, sometimes an extra space is added to each letter between then Name and Content. The letter template does not how an extra space (or paragraph tag) and neither does the Mail Merge document. This space is created out of thin air!
On top of that sometimes a single line will be bold. The default letter template that is imported using IMCLUDETEXT has no bold what so ever and neither does the Mail Merge document.
IT looks something like this:
{IF { MERGEFIELD } = "hockey" "{ INCLUDETEXT "C:\\FILEPTHHERE\\preset-document.doc" \*MERGEFORMAT}" ""}
There is about 50 IF statements.
Everything works fine but the formatting of the imported letter. Any ideas?
Thanks,
Robb
|