Below macro will help you to merge 2 documents. You can edit the VBA code and add more files if you want. After merging, it will save as a new document. By default, it will save the new merged file under My Documents. If you want the new files to be saved under a specific location, you can mention that the file name section
Sub Merge_2_files()' Merge 2 files and save as a new documentNewFileName = "NewFile_" & Minute(Now) & "_" & Second(Now) & ".docx"Selection.EndKey Unit:=wdStorySelection.TypeParagraphSelection.InsertFile FileName:="C:\Users\inksanjeev\Desktop\A folder\Specifications.docx", Range:="", _ConfirmConversions:=False, Link:=False, Attachment:=FalseActiveDocument.SaveAs2 FileName:=NewFileName, FileFormat:= _wdFormatXMLDocument, LockComments:=False, Password:="", AddToRecentFiles _:=True, WritePassword:="", ReadOnlyRecommended:=False, EmbedTrueTypeFonts _:=False, SaveNativePictureFormat:=False, SaveFormsData:=False, _SaveAsAOCELetter:=False, CompatibilityMode:=15End Sub
Download the files
File 1
File 2