Inserting a table from a template into another file in Google Docs

Hello Everyone,

I’ve tried almost every possible method and I’ve lost hope. I’ve spent the entire day trying to copy a table in Google Docs format between files while preserving the formatting. Below, I describe the methods I have tried:

  1. Downloading HTML from one file and creating a new one with the imported table - This idea didn’t work because of the complex footers and headers containing .png files. This approach caused everything to get messed up.
  2. Attempting to use the Google Docs API - Here, I faced complete failure. Not once was I able to insert a well-formatted table.
  3. Trying to use the UpdateFile function (Google Docs) - I had the highest hopes for this method, but each time, the page from the original file was deleted, and a new one was inserted. If it were possible to simply add this page to the file, it would be the best solution.

Can you suggest any solutions? Please note that the final format of the combined files must be .docx.

Best regards,
Mathew