+ Reply to Thread
Results 1 to 3 of 3

VBA To Copy And Paste Multiple Excel Workbooks

  1. #1
    Registered User
    Join Date
    07-08-2017
    Location
    Minnesota
    MS-Off Ver
    Microsoft Office 2016
    Posts
    78

    VBA To Copy And Paste Multiple Excel Workbooks

    Hello,

    I am needing help with a macro to pull all data from a certain range from multiple different workbooks all saved in the same folder. The name of the files change each month and is not consistent, so I am hoping there is a way to just pull all files in the folder without knowing the file names?

    Step 1) navigate to folder pathway using cell Q1 pathway on "Tieout" tab.
    Step 2) open first workbook in folder noted above and copy range A3:T3 and down (the number of rows down will vary), then paste into current workbook "Book1" on "Data Drop" tab into range A3:T3.
    Step 3) loop through remaining workbooks and copy range A3:T3 and down, paste into current workbook "Book1" on "Data Drop" tab under the prior range pasted so data is not pasted over. The number of rows being copied from each workbook will be different.

    Thank you!!
    Attached Files Attached Files

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,260

    Re: VBA To Copy And Paste Multiple Excel Workbooks

    Hi Hoover,

    Read https://support.office.com/en-us/art...8-6a00041c90e4
    Excel now has a newer tool to do exactly what you want... Download or upgrade to Power Query (also called Get & Transform)
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    07-08-2017
    Location
    Minnesota
    MS-Off Ver
    Microsoft Office 2016
    Posts
    78
    unfortunately I need to complete this through macro and unable to install addons on my work computer due to security reasons. Also working on Excel 2010 still..

+ 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. Excel VBA Loop Macro - Copy Different Ranges and Paste into Multiple Workbooks
    By Hoover5896 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-20-2017, 08:47 PM
  2. Copy-paste multiple workbooks into one
    By giannisp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-20-2017, 12:42 AM
  3. [SOLVED] Open Multiple Workbooks, Record names, Copy paste to Active Workbook, Close the Workbooks
    By vba_madness in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-24-2013, 06:09 AM
  4. [SOLVED] Copy and paste from multiple workbooks
    By rg760 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-19-2012, 09:44 AM
  5. Copy and Paste excel data worksheet from multiple workbooks to one Excel sheet...
    By Elle210 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-28-2012, 06:33 PM
  6. Copy/Paste into multiple workbooks
    By moda7884@hotmail.com in forum Excel General
    Replies: 0
    Last Post: 08-14-2006, 11:10 AM
  7. Copy/Paste from multiple Workbooks.
    By DaveUK in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-21-2005, 11:19 PM

Tags for this Thread

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