Hi Team,
I’m having some issues when trying to get all the merge field codes of a word document. Initially, every merge field is being read fine but when I add some changes like adding a new merge field or even just plain text, suddenly there are merge fields that are being read incompletely.
See below example:
vpdelbug.PNG (519.2 KB)
On the left list box you can see that all merge field are being read completely and have the \* MERGEFORMAT end tag.
But on the right list box, there are incomplete merge field with no \* MERGEFORMAT end tag.
The only difference between the two document is that I’ve added an extra line with a merge field.
This is the code I use to read the merge fields:
vpdelbug1.PNG (11.6 KB)
I’ve attached both documents in question:
Test1 - Working.zip (466.5 KB)
Test2- Broken.zip (467.5 KB)
Please advise
Thanks