View Single Post
 
Old 12-10-2013, 06:43 PM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

hi Hangman,

The length of your mergefields & includetext fields has no bearing on the way the mailmerge output appears.

Furthermore, you can control variations in spacing as a result of the includetext field content by putting them inside a table cell with a fixed height. That way, whatever follows the table cell will always start at the same position on the page.

Finally, based on what you've posted so far, I believe you could use something along the lines of:
{QUOTE{INCLUDETEXT "C:\\My Documents\\My Folder\\Letter{IF{MERGEFIELD Code}= IL 1 {IF{MERGEFIELD Code}= CL 2 {IF{MERGEFIELD Code}= XX 3 {IF{MERGEFIELD Code}= ZZ 4 0}}}}.docx"}
Note the field nesting, which simplifies the overall field coding. With this construction, there must always be a file for the includetext field to reference, even if its empty.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote