M
Maximus
I wonder whether anyone ran into this issue before - I spend a dozen of
hours but could not figure out.
I am writing a Word AddIn in C++. The AddIn is to convert anything between <
and >. It works just fine for plain text, but does not work on Mail Merge
fields.
For example, '<Jane>' worked if I typed it, but if the same 'Jane' came from
a mail merge field, it did not find the match.
I thought that some code is incorrect, but the same thing happended when I
use the Find in Word.
The wildcard to search is \<*>.
However, searching plain text (such as 'Jane') in mail merge fields works
just fine.
For example,
<Joilet Smith
142 Main Street
Milbrae CA, 91786
USA>
The piece of text above contains 6 merge fields, with < and > manually
typed. If I copy the whole thing to paste into document as plain text, both
my Add-In and find (in Word) work fine on pasted plain text, but not the
merge field block.
hours but could not figure out.
I am writing a Word AddIn in C++. The AddIn is to convert anything between <
and >. It works just fine for plain text, but does not work on Mail Merge
fields.
For example, '<Jane>' worked if I typed it, but if the same 'Jane' came from
a mail merge field, it did not find the match.
I thought that some code is incorrect, but the same thing happended when I
use the Find in Word.
The wildcard to search is \<*>.
However, searching plain text (such as 'Jane') in mail merge fields works
just fine.
For example,
<Joilet Smith
142 Main Street
Milbrae CA, 91786
USA>
The piece of text above contains 6 merge fields, with < and > manually
typed. If I copy the whole thing to paste into document as plain text, both
my Add-In and find (in Word) work fine on pasted plain text, but not the
merge field block.