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
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.
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.
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.
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:
1. Click Kutools Plus > Merge. See screenshot:
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:
Note: FYI, original formatting of all documents you merged are reserved in the merged result.
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!
Relative articles:
Best Office Productivity Tools
Kutools for Word - Elevate Your Word Experience with Over 100 Remarkable Features!
๐ค Kutools AI Assistant: Transform your writing with AI - Generate Content / Rewrite Text / Summarize Documents / Inquire for Information based on Document, all within Word
๐ Document Mastery: Split Pages / Merge Documents / Export Selection in Various Formats (PDF/TXT/DOC/HTML...) / Batch Convert to PDF / Export Pages as Images / Print Multiple Files at once...
โ Contents Editing: Batch Find and Replace across Multiple Files / Resize All Pictures / Transpose Table Rows and Columns / Convert Table to Text...
๐งน Effortless Clean: Sweap away Extra Spaces / Section Breaks / All Headers / Text Boxes / Hyperlinks / For more removing tools, head to our Remove Group...
โ Creative Inserts: Insert Thousand Separators / Check Boxes / Radio Buttons / QR Code / Barcode / Diagonal Line Table / Equation Caption / Image Caption / Table Caption / Multiple Pictures / Discover more in the Insert Group...
๐ Precision Selections: Pinpoint specific pages / tables / shapes / heading paragraphs / Enhance navigation with more Select features...
โญ Star Enhancements: Navigate swiftly to any location / auto-insert repetitive text / seamlessly toggle between document windows / 11 Conversion Tools...