How To Combine Multiple Google Docs Into One

0913

This video is about Combining Spreadsheets with Google Sheets. Google Sheets - Combine Data From Multiple. USING IMPORTRANGE FORMULA TO COLLECT DATA FROM MULTIPLE GOOGLE SHEETS INTO ONE.

If you’re a heavy Word user, you probably have come across a situation where it would be convenient to merge multiple Word documents into one master document. Even though it’s not very difficult to do this in Word, it’s also not very intuitive.

You would think Microsoft would have included some merge documents feature into the program considering how many other more complicated tasks it can complete. Anyway, in this article, I’ll show you a quick and simple way to combine several Word documents into one document.

It’s worth noting that the procedure pretty much works on all versions of Office from 2007 to 2016. Also, in my own tests, it seems that all the formatting was retained when the documents were combined. However, this was only tested on files using the same version of Office. I’m not 100% sure if all the formatting will remain if you insert a Word 2007 document into Word 2016.

Merge Multiple Word Documents

To get started, open the first Word document that you want to use as the master file. Next, go to the position in the document where you want to insert the additional Word file. The nice thing about this method is that you can insert the additional Word files anywhere in the master file. It doesn’t always have to be at the end.

Now, click on the Insert tab and click on Object.

Now choose the documents that you want to insert. You can do it one at a time or you can choose multiple documents at once by holding down the SHIFT key and selecting them.

If you have a particular order they need to be inserted in, then do it one at a time. I’m not sure exactly how Word decides which files gets inserted when you select more than one at a time.

As you can see in the example above, the text from the second Word document starts right where I had the cursor, which was at the end of the first document. All of the formatting for the second document remained, including bold, bullet points, line spacing, text colors, text size, etc.

I even tested a document that just had pictures and other items like WordArt, charts, etc. and all of those items got merged properly too. Again, you could run into issues if you are merging documents that were created using different versions of Office. If that is the case, the best option is to open the older files in a newer version of Word and save it in the new file format.

Also, check out my other posts on how to combine multiple text files and how to merge multiple Powerpoint presentations. Enjoy!

Is it possible to merge 100 Google Docs documents into one?I've tried copy-pasting, but it seems too long and it's not possible to copy comments.

Rubén
12.8k5 gold badges38 silver badges75 bronze badges
Google
IgorIgor

5 Answers

This can be done with Google Apps Script. See this example. The most relevant parts (example assumes nothing but Google Docs in the folder):

Note that you don't copy the source document's contents in one lump; you have to loop through them as individual elements and fire the correct append* method to add them to the merged/destination file.

noltienoltie

I expanded on @noltie's answer to support merging docs in a folder structure recursively, starting from an arbitrary folder (not necessarily the root folder of google docs) and guard agains script failures on too many unsaved changes.

You can create and run a script with the above code on https://script.google.com/home

Red Mercury

Google Drive

Red Mercury
1,7871 gold badge13 silver badges21 bronze badges

Download all the files as Docx, then use Microsoft Word or Open Office to merge the documents using the 'master document' feature. (Word also refers to this as 'Outline.')

CheddarCheeseCheddarCheese

Both the above fail for me with the script returning a red lozenge:

How To Combine Multiple Google Docs Into One

Service unavailable: Docs Dismiss

(the documents in the folder are found, as are the document id's, and the combined doc is created, but empty)

Fixed that - had a document in the list that wasn't owned by me or was created by conversion. Removed that and away we go.

Into
Metric RatMetric Rat

Google Docs does not support any type of merge, yet.You can select all 100 docs, download them and try to merge them offline.

RajvenRajven

Not the answer you're looking for? Browse other questions tagged google-apps-scriptmergegoogle-drive-apigoogle-docs or ask your own question.

This entry was posted on 13.09.2019.