+ Reply to Thread
Results 1 to 3 of 3

macro to copy/paste multiple files with changing data to main XLSM file

  1. #1
    Registered User
    Join Date
    09-27-2019
    Location
    south carolina
    MS-Off Ver
    mircosoft office 365 excel
    Posts
    19

    macro to copy/paste multiple files with changing data to main XLSM file

    All files are already open. I need a macro to copy and paste the data only.

    Workbook named "301 CODE & OTHER STATUS.xlsm" - main file that holds macro. all data from individual files below need to be pasted here. Column A will be a formula. New data from files listed below will be pasted into column B. Append do not copy over each other.

    workbook named "HRT 301.xlsx" - data file will change daily
    workbook named "RAC 301.xlsx" - data file will change daily
    workbook named "FOS 301.xlsx" - data file will change daily. i have several more this is just a sample list of file names

    copy from each individual file HRT 301 all data in file, paste into 301 CODE & OTHER STATUS.xlsm file into column B

    STEP example:
    go to file HRT 301.xlsx select all data from A2:M
    go to file 301 CODE & OTHER STATUS.xlsm paste in column B
    go to file RAC 301.xlsx select all data from A2:M
    go to file 301 CODE & OTHER STATUS.xlsm paste in column B below the data from file HRT 301
    go to file FOS 301.xlsx select all data from A2:M
    go to file 301 CODE & OTHER STATUS.xlsm paste in column B below the data from file RAC 301
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    09-27-2019
    Location
    south carolina
    MS-Off Ver
    mircosoft office 365 excel
    Posts
    19

    Re: macro to copy/paste multiple files with changing data to main XLSM file

    never mind! I got it resolved. thanks.

  3. #3
    Forum Contributor
    Join Date
    12-02-2020
    Location
    Asia
    MS-Off Ver
    2010 & 2016 insider(Windows 10 64-bit)
    Posts
    724

    Re: macro to copy/paste multiple files with changing data to main XLSM file

    hi, conjohn ,may you provide your solution ? maybe other members take advantage from your solution
    in the future

+ 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. Search multiple headings in other sheet, copy data and paste in main file
    By Zahid0111 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-12-2020, 10:09 AM
  2. Macro to copy column from multiple files to paste to one file
    By yonidf99 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-09-2015, 12:26 PM
  3. [SOLVED] Copy same range in many excel files and paste into a main file
    By dualaudio454252 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-15-2014, 05:25 PM
  4. Replies: 3
    Last Post: 05-21-2013, 08:22 AM
  5. [SOLVED] Need a macro to copy paste data from multiple files into a file as a database
    By etandogan in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-13-2012, 02:14 AM
  6. Copy-Paste Macro of 3 columns from multiple excel files into one summary file
    By jpmaster53 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-15-2012, 07:10 AM
  7. Help: Open all xlsx files in dir, copy data from cells and paste in 1 master xlsm
    By dgibson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-29-2011, 04:17 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