Replies: 3   Views: 2709
Merge docx files
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by roydene  · 25-10-2011 - 14:05

Good day,

Is there a way to merge 2 DOCX files? For example, I have a template with a variable called $NEWFILE$ and I want to replace the variable with the contents of another file.

Kind regards,


Posted by admin  · 11-04-2013 - 12:13


Yes, you can replace a placeholder adding HTML, DOCX, MHT or RTF.
Please check:


Posted by roydene  · 11-04-2013 - 12:13

Thank you!