Closed Thread
Results 1 to 2 of 2

Macro for combining similar excel files into single file

  1. #1
    Registered User
    Join Date
    02-05-2013
    Location
    Chennai
    MS-Off Ver
    Excel 2007
    Posts
    25

    Post Macro for combining similar excel files into single file

    Hello,

    I want macro to combine similar excel files into single excel file in such a way that the output file should hold sheet name, which should be a particular column name and should contain all the data related to that column in all files with an extra column listing original file name in which they present.

    Let me explain this scenario with simple example

    Inputs:

    Test_1.xls

    HTML Code: 

    Test_2.xls

    HTML Code: 

    Output:

    Final.xls

    Sheet1 - 2/1/2013

    HTML Code: 
    Sheet2 - 3/1/2013

    HTML Code: 
    P.S: Notice that all similar excel files has the same column names, and output excel file contains one extra column specifying from which excel file the data is from.

    Please help me creating macro for the above scenario. Appreciate your help.
    Last edited by jsrakesh4u; 02-05-2013 at 12:44 PM. Reason: Proper Alignment

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Macro for combining similar excel files into single file

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

Closed Thread

Thread Information

Users Browsing this Thread

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

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