Word Replacing Error

Hello,


After replaced a text with Document.Range.Replace some error occures in header. It looks like make two replacement for each one.

I attached original document as org.doc. After replaced <REV_NO> text with 0 number a 0 number appears in header(replaced1.png)

While i clear textbox area in header and do replacement again error does not occure(org_without_textbox.doc). We use text area in header and we can not remove it.

Could you please help me about this situation.

Hi Ahmet,


Thanks for your inquiry. To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your expected document which shows the correct output. Please create this document using Microsoft Word application.
  • Please create a standalone console application (source code without compilation errors) that helps us reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we’ll start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip them and Click ‘Reply’ button that will bring you to the ‘reply page’ and there at the bottom you can include any attachments with that post by clicking the ‘Add/Update’ button.

Best regards,

Hi,


I replaced text area in header in order to prepare an application.
You can close this issue.