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
4 Comments
Dell Technical Support Phone Number Dell help phone number for troubleshoot Dell problems for Computer, Laptop, Printers, we help to resolve quickly our services USA and Canada .
ReplyDeleteA1E15550B3
ReplyDeletekiralık hacker
hacker bulma
tütün dünyası
-
-
3A03333E6A
ReplyDeleteSanal Seks
Whatsapp Ücretli Show
Görüntülü Show
07345597E2
ReplyDeleteLooking for high-quality printing solutions? At DTF Printing & DTF Transfers in Bergen County, New Jersey | DTFhub, we specialize in providing durable and vibrant transfers for all your apparel needs. Our advanced DTF technology ensures crisp designs and long-lasting results, making us the preferred choice for businesses and individuals alike. Whether you're customizing t-shirts, hoodies, or other garments, our team is here to help you achieve the perfect look. Trust us for professional service and exceptional quality.