+ Reply to Thread
Results 1 to 2 of 2

import multiple .xlsx files into one workbook and one sheet

  1. #1
    Registered User
    Join Date
    11-22-2016
    Location
    London
    MS-Off Ver
    2013
    Posts
    23

    import multiple .xlsx files into one workbook and one sheet

    I have around 100 .xlsx files in one folder dated from 2013-16. These are files with the same format, that are extracted periodically from SAP and converted to .xlsx.

    I want to build a database in a workbook with all these files, importing all at the same time.

    All the files look like this:
    Capture.PNG
    Columns, formats, all equal

    I want to import them into another workbook to one sheet. The ideia is that after a file is imported (values copied), it finds the last row and imports the next one, and so on until the last file.

    The worksheet looks like this:
    Capture2.PNG
    Columns, formats, all equal to the imported files. The location of the cells is diferent (it doesn't start in A1 like the files but it will start to copy values in B10)

    Any ideias on how I can achieve this?

    Thanks.

  2. #2
    Registered User
    Join Date
    11-22-2016
    Location
    London
    MS-Off Ver
    2013
    Posts
    23

    Re: import multiple .xlsx files into one workbook and one sheet

    This is the code i'm using currently to import just 1 file:

    Please Login or Register  to view this content.

+ 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. Replies: 3
    Last Post: 07-06-2016, 07:47 PM
  2. [SOLVED] VBA Import .xlsx and Search for criteria, sum into new workbook
    By cheno1115 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-14-2016, 07:19 PM
  3. Import multiple text files into different worksheets in the same workbook
    By kalyanr12 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-30-2014, 04:29 AM
  4. [SOLVED] Macro to Import Multiple TXT Files into workbook - User to select files/directory
    By saber007 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-15-2013, 08:43 PM
  5. Import multiple text files into 1 workbook
    By riddickisten in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 03-10-2013, 08:00 PM
  6. Merge Data from different .xlsx files & different sheet to a new .xlsx
    By QcSylvanio in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-03-2012, 01:11 PM
  7. Replies: 2
    Last Post: 08-30-2007, 12:34 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