+ Reply to Thread
Results 1 to 13 of 13

how to merge multi word file in a folder in one an save it

  1. #1
    Valued Forum Contributor
    Join Date
    06-27-2010
    Location
    sYRIA
    MS-Off Ver
    Excel 2013
    Posts
    669

    how to merge multi word file in a folder in one an save it

    Hi to All,
    this is my firs post to this forum seeking for help in word
    I have folder with several word document and they need to combine then in one file
    Is ir possible in word VBA?
    thank you in advanve

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: how to merge multi word file in a folder in one an save it

    Quote Originally Posted by mohadin View Post
    I have folder with several word document and they need to combine then in one file
    Could you please elaborate?

  3. #3
    Valued Forum Contributor
    Join Date
    06-27-2010
    Location
    sYRIA
    MS-Off Ver
    Excel 2013
    Posts
    669

    Re: how to merge multi word file in a folder in one an save it

    thank you for your quick response
    simply in a folder I have let say 5 word document (1.docx, 2.docx,....)
    I need to them in one word file copied one after the other
    thank you again

    each one shold start at a new page below
    Last edited by mohadin; 06-26-2019 at 03:40 AM. Reason: forgeten issue

  4. #4
    Valued Forum Contributor
    Join Date
    06-27-2010
    Location
    sYRIA
    MS-Off Ver
    Excel 2013
    Posts
    669

    Re: how to merge multi word file in a folder in one an save it

    Hi all
    after some search I found this routine It dose what I want
    Thanks

    Please Login or Register  to view this content.
    Last edited by mohadin; 06-28-2019 at 01:21 AM.

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: how to merge multi word file in a folder in one an save it

    Thanks for sharing.
    Can you also mark the thread as "solved" then? ( Under thread tools)

  6. #6
    Valued Forum Contributor
    Join Date
    06-27-2010
    Location
    sYRIA
    MS-Off Ver
    Excel 2013
    Posts
    669

    Re: how to merge multi word file in a folder in one an save it

    Thank you sir,
    So you think it is a good code?
    Solved Done!

  7. #7
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: how to merge multi word file in a folder in one an save it

    To be honest, I don't know if the code is good, but as longs as it works for you, that's the most important

  8. #8
    Valued Forum Contributor
    Join Date
    06-27-2010
    Location
    sYRIA
    MS-Off Ver
    Excel 2013
    Posts
    669

    Re: how to merge multi word file in a folder in one an save it

    Thank you for your honesty.
    Any Suggestion to proof it?
    Thanks>

  9. #9
    Valued Forum Contributor
    Join Date
    06-27-2010
    Location
    sYRIA
    MS-Off Ver
    Excel 2013
    Posts
    669

    Re: how to merge multi word file in a folder in one an save it

    Thank you for your honesty.
    Any Suggestion to proof it?
    And what RDC (in your profile) stand for?
    Thanks.

  10. #10
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: how to merge multi word file in a folder in one an save it

    The code is very inefficient - done properly, there is no need to activate or select anything. Moreover, it takes no account of the possibility that the source documents have different page layouts, headers/footers, etc.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  11. #11
    Valued Forum Contributor
    Join Date
    06-27-2010
    Location
    sYRIA
    MS-Off Ver
    Excel 2013
    Posts
    669

    Re: how to merge multi word file in a folder in one an save it

    Quote Originally Posted by macropod View Post
    The code is very inefficient - done properly, there is no need to activate or select anything. Moreover, it takes no account of the possibility that the source documents have different page layouts, headers/footers, etc.
    Thank you for your response Mr. macropod
    but I can not understand (there is no need to activate or select anything).
    could you please enplane, an example
    Thanks
    Last edited by mohadin; 06-28-2019 at 02:47 AM.

  12. #12
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: how to merge multi word file in a folder in one an save it

    As an example, you don't need:
    Please Login or Register  to view this content.
    All you need is:
    Please Login or Register  to view this content.
    For some comprehensive code, see my post of February 23, 2018 at: https://social.msdn.microsoft.com/Fo...eaders-footers
    Even then, there are caveats as noted there.

  13. #13
    Valued Forum Contributor
    Join Date
    06-27-2010
    Location
    sYRIA
    MS-Off Ver
    Excel 2013
    Posts
    669

    Re: how to merge multi word file in a folder in one an save it

    Quote Originally Posted by macropod View Post
    As an example, you don't need:
    Please Login or Register  to view this content.
    All you need is:
    Please Login or Register  to view this content.
    For some comprehensive code, see my post of February 23, 2018 at: https://social.msdn.microsoft.com/Fo...eaders-footers
    Even then, there are caveats as noted there.
    Thank you very much in deed.
    That was perfect.
    mega like!
    Thank you

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Trying to save a Mail Merge word Document to a specific folder
    By jtemp57 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-19-2014, 06:56 PM
  2. Open every file in the folder, remove merge and wrap, save and close files
    By abdesai in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-06-2013, 04:58 PM
  3. [SOLVED] How to read Excel or Word file (Multi-Word phrases) into Array
    By pradeepdeepu_001 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-15-2013, 03:02 AM
  4. multi line invoice in mail merge from excel to word
    By srutibox in forum Word Programming / VBA / Macros
    Replies: 2
    Last Post: 01-08-2012, 12:57 PM
  5. Word 2007 Mail Merge allows to send one message to multi recipients
    By wowow in forum Word Programming / VBA / Macros
    Replies: 3
    Last Post: 12-22-2011, 08:22 AM
  6. [SOLVED] Merge Excel multi columns into Word
    By [email protected] in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-16-2006, 05:35 AM
  7. Replies: 6
    Last Post: 08-11-2006, 03:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1