We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Don't want to replace mergefields in tables

I am having text & table in word doc. I am using mergefields to replace the text with data.
The problem is when I write the replacement code, the mergefields inside the table also gets replaced so I am not able to get expected output in tables.
I want to get the mergefields in the tables as I don’t want to replace them.
Can you provide me some help on it?

Thanks for your request. Maybe you should first execute mail merge and then replace text in the document. In this case, Document will not contain merge fields when you perform replacing.
Best regards.