+ Reply to Thread
Results 1 to 7 of 7

need help to complied Secound sheet of all excel file in a folder

  1. #1
    Registered User
    Join Date
    09-17-2019
    Location
    India
    MS-Off Ver
    365
    Posts
    9

    need help to complied Secound sheet of all excel file in a folder

    Hi Friends,

    I need help to resolve my query, I have 50 to 100 excel files which I need to compile all files in one new excel sheet. there some point where I am stuck.
    1- only complied the data of Sheet2 (tab name Details)
    2 Main Data start will start row 3 (Row 2 is header)
    3 in new sheet create the Header only first time after that copy paste data of all excel files one by one
    4- Folder Location is not fixed where all excel files are available.

    Header is (Name, Emp ID, Employee Type, Country, City, LOB)


    I have attached the 3 sample files for format.
    Attached Files Attached Files

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,815

    Re: need help to complied Secound sheet of all excel file in a folder

    When you say "Folder Location is not fixed where all excel files are available.", do you mean that the files are all in one folder but the folder location varies or do you mean that the files can be in different folders? Also, do you want to copy only theses columns: Name, Emp ID, Employee Type, Country, City, LOB
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Registered User
    Join Date
    09-17-2019
    Location
    India
    MS-Off Ver
    365
    Posts
    9

    Re: need help to complied Secound sheet of all excel file in a folder

    All files available in one folder but the folder location is not fixed, every month will change the folder location

  4. #4
    Registered User
    Join Date
    09-17-2019
    Location
    India
    MS-Off Ver
    365
    Posts
    9

    Re: need help to complied Secound sheet of all excel file in a folder

    All Header according to attached file all files header row is same ,

  5. #5
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,815

    Re: need help to complied Secound sheet of all excel file in a folder

    Place this macro in a new, blank workbook. Rename the first sheet as "Summary". Run the macro. You will be prompted to select the folder containing your files.
    Please Login or Register  to view this content.
    Last edited by Mumps1; 11-19-2019 at 10:27 AM.

  6. #6
    Registered User
    Join Date
    09-17-2019
    Location
    India
    MS-Off Ver
    365
    Posts
    9

    Re: need help to complied Secound sheet of all excel file in a folder

    Hi There Some Issue in Summary table showing multipal header row , for example if we have copy the data form 3 files , in summary tab showing 3 header row ,

    and range are copy from column 1 , some data are not copy if we get any blank cell in column 1,

    example in one file we is 100 row data except header and column A has first 75 cells in first column, we getting only 75 rows data in summary tab , according to the logic all 100row data should be in summary

  7. #7
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,815

    Re: need help to complied Secound sheet of all excel file in a folder

    Try:
    Please Login or Register  to view this content.
    Last edited by Mumps1; 11-19-2019 at 10:27 AM.

+ 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. Update File Name in folder automatically in Excel sheet
    By poonam.ss in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-02-2017, 08:15 AM
  2. Replies: 1
    Last Post: 10-02-2016, 04:40 AM
  3. Replies: 2
    Last Post: 12-29-2015, 04:19 AM
  4. Replies: 0
    Last Post: 01-21-2014, 10:52 AM
  5. Saving File using input from excel sheet (folder and filenames)
    By officedepot in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 01:26 PM
  6. Replies: 0
    Last Post: 09-06-2013, 02:16 AM
  7. [SOLVED] Return File Name, Sheet Name, and Row 1 for Each Excel in Folder
    By ub3rm0nk3y in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-17-2013, 08:29 PM

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