+ Reply to Thread
Results 1 to 2 of 2

Combining Data from Multiple .xlsx Files with Multiple Sheets

  1. #1
    Registered User
    Join Date
    04-23-2015
    Location
    Amherst, Massachussetts
    MS-Off Ver
    2010
    Posts
    1

    Combining Data from Multiple .xlsx Files with Multiple Sheets

    I currently have 10 Microsoft Excel Worksheet files (.xlsx) each containing multiple sheets. Each .xlsx file contains information about college class enrollment for a particular semester of a particular year. Each file contains 7 different sheets all with different information, the last sheet being a Summary. All of my 10 files are formatted in the exact same way. The sheet that I am interested in occupies data from A7:J14.

    My objective is to combine the data from the Summary sheet from each of these .xlsx files. I have looked at a number of different macros and thread postings on ExcelForum and have found that they only run on Excel Workbooks (don't accept .xlsx files). The macros I have looked at allow the user to select which files they want to gather data from (files that are closed, not open) and then output that combined data in the form of a pivot table. This is exactly what I want to do. I am struggling to figure out two things: 1. How to use these macros that work on Excel Workbooks so they work on .xlsx files. 2. How to use these macros so they can specifically take information from the specific sheet (1 sheet among the 7) in each file.

    Thank you in advance, to anyone that provides information on the problem I'm running into. I looked at Kirill Lapin's solution and another solution somewhere here in ExcelForum (sorry that's not much help).

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Combining Data from Multiple .xlsx Files with Multiple Sheets

    So if you want to run a macro, you can create a NEW file (.xlsm or .xlsb) to pull the data out of the .xlsx files. I have done this plenty of times.

    Can you provide what macro you have already and I can possibly point you in the right direction?


    Also, at the risk of stating the obvious, you do know you can save any file AS a .xlsm (or .xlsb) and the file will still work the same, but allow you to save macros and such right?
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

+ 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. How to split multiple excel data /sheets into multiple PDF files
    By Faridwahidi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-08-2014, 12:25 PM
  2. Combining data from multiple excel files
    By pknittle in forum Excel General
    Replies: 3
    Last Post: 11-15-2013, 12:53 PM
  3. [SOLVED] how to convert multiple .txt files to .xlsx files using a macro?
    By Aaron_Tram in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-21-2013, 06:30 PM
  4. Need help combining Multiple Excel Files & Sheets into one Workbook
    By antimattercrusader in forum Excel General
    Replies: 4
    Last Post: 08-15-2012, 01:32 PM
  5. Combining data from multiple files
    By james11 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 11-03-2008, 06:34 AM

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