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

Free Support Forum - aspose.com

Merge files without redundant Header

Hello Support Team,

First of all, thank you for your support.

Description: Currently, after generating and merging the document (merge the same document but with different data), I am getting a redundant Header on all merged documents.

My goal is to merge doc files without having a redundant Header.

I think that there are two solutions :
1 - Define an iteration field (loop) on the document, so I can add all my data to one document without any merge -> One header

2- Add a key to the document so I can force the template to merge documents but with one header.

My problem is that I don’t know how to proceed with the two solutions.
Can you help, please?

Best Regards


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

  • Your input Word documents.
  • Please attach the output Word file that shows the undesired behavior.
  • Please attach the expected output Word file that shows the desired behavior.
  • Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

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

PS: To attach these resources, please zip and upload them.