Cookies help us deliver our services. By using our services, you agree to our use of cookies.
Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to merge multiple documents and keep format in word?

Sometimes we may need to merge multiple documents into one when you are using the Microsoft Word applications. In Word, you can merge multiple Word documents into one with one of following tricky ways:

Merge multiple documents one by one with Insert Text from File feature

Merge multiple documents in bulk with VBA

Merge multiple documents in bulk with Kutools for Word

Merge multiple documents one by one with Copying and Pasting

Quickly merge multiple Word documents from many folders in bulk, with specified order

Kutools for Word releases a fantastic Merge feature to help users quickly merge multiple Word documents from many folders. This feature will not only reserve original documents' format in merged file, but also merge documents by your specified order. Click for 60-day free trial!
ad merge documents dialogbox

Kutools for Word: Add 100 New Advanced Features to Word 2003 / 2007 / 2010 / 2013 / 2016 / 2019.
Office Tab: Enable Tabbed Editing and Browsing in Office, Just Like Chrome, Firefox, IE 8/9/10.
Classic Menu for Office: Bring Old Look of Office 2003 Back to Office 2007, 2010, 2013, 2016 and 2019.

arrow blue right bubble Merge multiple documents into one document with Insert Text from File function

You can merge multiple documents into one document by using the Text from File function in Word, but by doing this, you will lost the format of documents after merged.

1. Create a new Word document you will place the merged documents, and then click Insert > Object > Text from File. See screenshot:

2. In the opening Insert File dialog box, please (1) open the folder containing documents you will merge; (2) select the documents you will merge; and then (3) click the Insert button. See screenshot:

Tip: Holding Ctrl key, you can select multiple documents with clicking them one by one; holding Shift key, you can select multiple adjacent documents with clicking the first one and the last one.

3. If documents you need to merge are saved in different folders, please repeat above Step 1-2 as your need.

Note: You can't order documents in merged file, otherwise you insert them one by one.


arrow blue right bubble Merge multiple documents into one document with VBA

Alternatively, you can use VBA to merge multiple documents into one in Word.

1. Move all Word documents you will merge into the same folder.

2. Rename the Word documents with a series of sequence names. (1) Right click a document and select Rename from the context menu, and then type a new name, such as Part1; (2) Repeat to rename other documents. See screenshot:

3. Double click to open the document you will place at the beginning of merged file.

4. Press Alt + F11 keys together to open the Microsoft Visual Basic for Application window.

5. Click Insert > Module, and then paste below VBA code into the new Module window;

VBA: merge multiple documents in Word

Sub MergeDocuments()
Application.ScreenUpdating = False
MyPath = ActiveDocument.Path
MyName = Dir(MyPath & "\" & "*.docx")
i = 0
Do While MyName <> ""
If MyName <> ActiveDocument.Name Then
Set wb = Documents.Open(MyPath & "\" & MyName)
Selection.WholeStory
Selection.Copy
Windows(1).Activate
Selection.EndKey Unit:=wdLine
Selection.TypeParagraph
Selection.Paste
i = i + 1
wb.Close False
End If
MyName = Dir
Loop
Application.ScreenUpdating = True
End Sub

Note: This VBA can only merge Word documents whose file extensions are docx. If you need to merge documents (.doc), please replace docx in the code MyName = Dir(MyPath & "\" & "*.docx") to doc.

6.Click Run button or press F5 key to apply the VBA.

Note: you have to rename the documents with a series of sequence names, otherwise the documents may be disordered or lost in the merged file.


arrow blue right bubble Merge multiple documents into one document and keep format with Kutools for Word

After you installed Kutools for Word, you don't need to create a new blank document, nor put the document into the same folder. With Merge of Kutools, you can quickly merge multiple documents into one in word. Please do as follows:

Kutools for Word - With more than 30 handy Word add-ins, free to try with no limitation in 60 days

1. Click Kutools Plus > Merge. See screenshot:
doc merge documents 01

2. In the opening Merge Documents dialog box, please add documents you will merge: (1) Click Add Files button; (2) In the Browse dialog box open folder containing documents you will merge; (3) holding Ctrl or Shift key to select these documents; and then (4) click the OK button. See screenshot:

Tip:
(1) If you need to merge documents that are saved in different's folder, please repeat this step to add them one by one;
(2) You can also add all documents saved in one folder in bulk by the Add Folder button.

3. Now you return to the Merge Documents dialog box, please (1) order these documents by Move Up and Move Down buttons; (2) specify a break between documents from the Break between documents drop down list; and then (3) click the Merge button. See screenshot:

Now all specified Word documents are combined into a new document as below screenshot shown:
ad merge documents results v8.9

Note: FYI, original formatting of all documents you merged are reserved in the merged result.

Of course, you can open all Word documents firstly, and then merge them by manually copying and Pasting.

Tabbed browsing & editing multiple Word documents as Firefox, Chrome, Internet Explore 10!

You may be familiar to view multiple webpages in Firefox/Chrome/IE, and switch between them by clicking corresponding tabs easily. Here, Office Tab supports similar processing, which allow you to browse multiple Word documents in one Word window, and easily switch between them by clicking their tabs. Click for full features free trial!
Browse multiple word documents in one window as Firefox


arrow blue right bubbleRelative articles:




Kutools for Word

More than 100 Advanced Functions for Word 2003, 2007, 2010, 2013, 2016 and 2019

shot-kutools-700-225-kte

More Features  |  Free Download  |  Only $39.00 for hundreds of functions

Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Hrishi · 5 months ago
    Dear Sir,
    Can we track/identify the Content Control differences?
    Thanks,
    Hrishi
  • To post as a guest, your comment is unpublished.
    Robert · 11 months ago
    Does anyone know how I can build "HeadersFooters.LinkToPrevious (False)" into the VBA code?
  • To post as a guest, your comment is unpublished.
    Corinne · 1 years ago
    Thank you so much Extend Office Team! Awesome tips! I can't describe how much your article helped me!
  • To post as a guest, your comment is unpublished.
    babji · 1 years ago
    I read this article which is really helpful
    combine word documents
  • To post as a guest, your comment is unpublished.
    kavitha · 2 years ago
    Thanks for sharing this.. VBA code is working for me.