Consistent Text Positioning when Using 'Fields'
I am using an 'InsertText' field in conjunction with and 'If' statement as part of a Word MailMerge document. This is to allow me to use more than one source letter to mailmerge my data to, based on criteria within my Excel Spreadsheet.
The problem I have is that because my 'Code' runs on to four lines (the actual file path names are longer than shown here) this results in the text for Letter 2 (Dear...) starting two lines lower than the text for Letter 1.
Is there any way to prevent this from happeneing. I've looked at inserting a 'Section Break', but that makes no difference.
My code looks like this (was unsure if this needs to sit in code tags)?
{ IF { MERGEFIELD Code } = IL { INCLUDETEXT "C:\\My Documents\\My Folder\\Letter1.docx" \* MERGEFORMAT }{ IF { MERGEFIELD Code } = CL { INCLUDETEXT "C:\\My Documents\\\\My Folder\\Letter2.docx" \* MERGEFORMAT }
Many thanks
|