Consulting

Results 1 to 1 of 1

Thread: Combining multiple xlsx worksheets into 1 worksheet in Excel 2007

  1. #1
    VBAX Regular
    Joined
    Aug 2013
    Posts
    15
    Location

    Combining multiple xlsx worksheets into 1 worksheet in Excel 2007

    I have 84 separate worksheets, all xlsx files. I need to combine all into 1 worksheet. The caveat to this is that I need to add the source filename to each record when added into the 1 consolidated worksheet.

    Attached are the first 3 files combined. I have added the filenames to this example.
    File 1 filename is: CHARLOTTE PEACE JAN20 FINAL PENDED LIST.xlsx
    File 2 filename is: Charlotte Peace WTR20 FINAL PENDED LIST.xlsx
    File 3 filename is: CHN DEC10 FINAL PENDED LIST.xlsx.
    The data in the files only contains columns A - J. And column K should contain the source filename.

    I have tried using the combined KB#151 and KB#221 just to combine the files and neither worked. In reviewing the code, I'm finding only xls files are referenced throughout the macro. I'm a bit lost here and fear I am stuck with doing this manually.

    Attached are the first 3 files combined as I'm hoping you can help me with.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •