+ Reply to Thread
Results 1 to 3 of 3

Multiple CSV Importer

  1. #1
    Registered User
    Join Date
    05-07-2013
    Location
    China
    MS-Off Ver
    Excel 2003
    Posts
    2

    Smile Multiple CSV Importer

    Hi all,

    I have multiple excels file, multiple folders and multiple CSV files.

    e.g.
    Folder name: 2013-05-01
    Content:
    - test1.csv
    - test2.csv
    - test3.csv

    Folder name: 2013-05-02
    Content:
    - test1.csv
    - test2.csv
    - test3.csv

    Folder name: 2013-05-03
    Content:
    - test1.csv
    - test2.csv
    - test3.csv

    Folder name: 2013-05-04
    Content:
    - test1.csv
    - test2.csv
    - test3.csv

    Folder name: Test_Result
    Content:
    - test1.xls
    - test2.xls
    - test3.xls

    How do I using VBA to import the above CSVs into the Test_Result folder xls file(by the same name as the CSV and append after last sheet of original xls) and named the sheet by the folder Date?

    Thanks
    Last edited by robert8628; 05-07-2013 at 04:07 AM.

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Multiple CSV Importer

    have a look to http://www.rondebruin.nl/win/section3.htm
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    05-07-2013
    Location
    China
    MS-Off Ver
    Excel 2003
    Posts
    2

    Smile Re: Multiple CSV Importer

    Hi,

    Thanks your reply.

    But I would prefer do it automatically.

    I have more than 50 folders and test.csv files.

    I consider the VBA can only need to select the "CSV folders", than the excel can auto import all the relative CSV in the excel file.

    Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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