+ Reply to Thread
Results 1 to 2 of 2

Aggregate Worksheets from Multiple Workbooks into a single Workbook

  1. #1
    Registered User
    Join Date
    07-16-2018
    Location
    California
    MS-Off Ver
    Office 16
    Posts
    1

    Aggregate Worksheets from Multiple Workbooks into a single Workbook

    First Post Here - Basically I found some code online that said it would complete this task but continually running into issues ("[ Copy method of Worksheet class failed ]").

    I tested that this wasn't due to some of the workbooks having worksheets with the same name ("Summary") and I also tried it with all of the workbooks I want to merge open and closed.

    My Process:
    1) Created new folder, placed all .xls files I want to merge into this folder
    2) Create New Workbook
    3) Update VBA code to point towards the new folder created in step 1
    4) Run Macro
    ...
    ERROR:
    ("[Copy method of Worksheet class failed]")

    Please Login or Register  to view this content.
    I've seen a lot of different code options that claim to resolve this issue but keep running into errors. If anyone has any comments on my process or code, I'd greatly appreciate it!

    Thanks
    Last edited by jeffreybrown; 01-28-2020 at 09:39 PM. Reason: Please use code tags!

  2. #2
    Registered User
    Join Date
    01-29-2020
    Location
    Kraków, Poland
    MS-Off Ver
    Office 365
    Posts
    10

    Re: Aggregate Worksheets from Multiple Workbooks into a single Workbook

    Try this:

    Please Login or Register  to view this content.

+ 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. Replies: 2
    Last Post: 08-01-2018, 12:35 PM
  2. Compare two excel workbooks (or two worksheets within a single workbook)
    By sergiozygmunt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-04-2016, 03:11 AM
  3. [SOLVED] Regrouping worksheets from several workbooks into a single Workbook
    By zicitron in forum Excel Programming / VBA / Macros
    Replies: 38
    Last Post: 05-21-2013, 02:38 AM
  4. [SOLVED] Create single worksheet from multiple workbooks with 4 worksheets in each workbook
    By VKS in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-11-2013, 03:35 AM
  5. [SOLVED] Copying Worksheets from Multiple Workbooks to a Single Workbook, Separate Worksheets
    By DHartwig35805 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-27-2012, 11:38 AM
  6. Copying Worksheets from Multiple Workbooks to a Single Workbook, Separate Worksheets
    By Abhi_1977 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-27-2012, 11:32 AM
  7. Copying Multiple worksheets in Multiple workbooks to one single workbook
    By ebrabender in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-28-2011, 02:30 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