Replace String not Replacing

In the attached document I run the Document.Range.Replace function and try and replace two fields in the document: <span style=“font-size: 14pt; font-family: “Times New Roman”;”>{POLICY_NO~1} and {ISSUE_STATE}. It replaces ISSUE_STATE correctly, but it does not replace {POLICY_NO~1} correctly.

I am thinking it is something to do with the way the document was generated, because if I totally delete {POLICY_NO~1}and then retype it in the document it seems to work.

I guess I am wondering what is causing it not to replace the text when I call the .Replace function.

Thanks,

John

Well I just downloaded 3.1.0 and it looks like that fixes this particular issue.

Thanks,

John