+ Reply to Thread
Results 1 to 3 of 3

merge excel files

  1. #1
    Registered User
    Join Date
    03-12-2007
    Posts
    61

    merge excel files

    Hello,

    I found macro code online to merge .xls files. I have limited VB knowledge but was able to tweak the code to the way I want it to work for merging generic worksheets.

    However, I would like another version of this macro to only merge a specific folder from each workbook... and I can't seem to get it right. Currently the code merges ALL worksheets in ALL workbooks, but I only want this new version to look at only worksheets called "Form" in ALL workbooks (even if there are 4 worksheets in the workbook, I only want to merge the "Form" worksheets).

    I am attaching the code.

    Could someone please help me with this. Thanks, Mary-Lou.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628
    You can try to change your macro so:
    Please Login or Register  to view this content.
    Regards,
    Antonio

  3. #3
    Registered User
    Join Date
    03-12-2007
    Posts
    61
    Excellent!!!! This works great.

    Thank you so much, Mary-Lou

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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