+ Reply to Thread
Results 1 to 2 of 2

Copying data from multiple word files

  1. #1
    Registered User
    Join Date
    01-23-2021
    Location
    Asia
    MS-Off Ver
    365
    Posts
    8

    Copying data from multiple word files

    Hi all

    I want to make a VBA which can help to copy data from ALL word files in a folder to a template file that has preset header and footer.

    For example:

    1) Folder has 12 word files (ie. File1 to File12)
    2) VBA should open File1, copy select all contents and paste into template word file.
    3) Afterwhich, save template word file as PDF in another folder

    4) Pt 1 to 3 should repeat for all files in folder. In this case, since there are 12 word files, there should be 12 PDFs.


    Appreciate if someone can help with this pls? Thanks!!
    Last edited by AliGW; 01-23-2021 at 11:25 AM. Reason: Irrelevant section of title removed - this is a help forum!!!

  2. #2
    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: Copying data from multiple word files

    Cross-posted (and answered) at: https://www.msofficeforums.com/word-...ord-files.html
    Please read Excel Forum's Cross-Posting policy in rule 8: http://www.excelforum.com/forum-rule...rum-rules.html
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

+ 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. Copying data from multiple files have the same structure
    By tax112 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-31-2016, 01:44 AM
  2. Replies: 11
    Last Post: 02-27-2014, 12:27 PM
  3. How to create multiple word documents using data from multiple excel files.
    By Milan Kotus in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-14-2013, 12:07 PM
  4. Copying data from multiple word docs into one excel sheet
    By X82 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-15-2013, 07:24 AM
  5. Copying data from multiple files into new one file.
    By Algus in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-28-2013, 05:45 AM
  6. Copying data from multiple files in a folder to a master file
    By kjshep in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-22-2012, 12:31 PM
  7. Copying Data from multiple excel files
    By rugbyfitz in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-10-2008, 04:34 AM

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