Hello,
To put a variable in a mergefield WORD, I use the instruction:
WdRange:=wdApp.ActiveDocument.Fields.Item(2).Result;
wdRange.Text := ValVar;
I would to assign the mergefield by its name in the word document
ex: WdRange:=wdapp.activeDocument.Fields.Item(ADRESS).Result;
Do you have a solution ?
Many tanks
<img border="0" title="" alt="[Confused]" src="images/smiles/icon_confused.gif" />
0
Comments
There is no other way ... I think.
The problem is that i would can to change the mergefields position in the word document with no changes in the NF code-unit <img border="0" title="" alt="[Confused]" src="images/smiles/icon_confused.gif" />