Introductory Phrase Repeating

I am trying to fix a templating issue. Every time a template has a Mergefield TableStart/End with an introductory word/phrase before it there is repetition on each line of the table for example if I have:

"On these items {MERGEFIELD TableStart:ItemDirectory * MERGEFORMAT}{MERGEFIELD OrderName}, {MERGEFIELD OrderPrice}{MERGEFIELD TableEnd:ItemDirectory *MERGEFORMAT}

The result in word template is:
On these items myItem1 25,
On these items myItem2 46,
On these items myItem3 54.99,
Etc.

I dont understand why the template has this repeating behavior. Any ideas or pointers?

@DanCorE You should use MailMerge.UseWholeParagraphAsRegion property to repeat only part of the paragraph as a region.

Thank you so much! This was perfect.

1 Like