+ Reply to Thread
Results 1 to 5 of 5

Import Data From Multiple CSV's and Append into Single Sheet

  1. #1
    Forum Contributor
    Join Date
    11-28-2005
    Location
    Dover, England
    Posts
    172

    Import Data From Multiple CSV's and Append into Single Sheet

    I have a series of comma delimited CSV files which I need to import on a regular basis and would like to automate the process.

    The number of files I import varies from 1 to 20 but their structure are identical except for the content. The data I need to extract starts at line 9 and can vary between 1 and 300 lines within the file.

    I recorded a macro but I am now stuck as to how I can get this to loop through each of the files and append the data to the bottom

    Please Login or Register  to view this content.
    Any assistance in this matter would be greatly appreciated.

    Thanks

  2. #2
    Forum Contributor
    Join Date
    06-02-2015
    Location
    delhi
    MS-Off Ver
    2010
    Posts
    104

    Re: Import Data From Multiple CSV's and Append into Single Sheet

    You're not on correct way !! Create a New workbook put this code in the module, Put the folder path in code and run it

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    06-02-2015
    Location
    delhi
    MS-Off Ver
    2010
    Posts
    104

    Re: Import Data From Multiple CSV's and Append into Single Sheet

    You're not on correct way !! Create a New workbook put this code in the module, Put the folder path in code and run it

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    11-28-2005
    Location
    Dover, England
    Posts
    172

    Re: Import Data From Multiple CSV's and Append into Single Sheet

    Mandeep - thanks for the response. However, although I beleive I have followed your instruction I seen to get all the files opening up rather than 1 file with the contents of all the sheets. Any idea as to why?

  5. #5
    Forum Contributor
    Join Date
    06-02-2015
    Location
    delhi
    MS-Off Ver
    2010
    Posts
    104

    Re: Import Data From Multiple CSV's and Append into Single Sheet

    Create a workbook remember your new workbook contains Sheet1 where data comes by this macro

    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. Import data from multiple pages of a website into a single Excel workbook
    By kavin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-26-2015, 04:19 AM
  2. [SOLVED] Loop to open all workbooks in folder and append data to single sheet
    By beng404 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-04-2013, 01:45 PM
  3. Replies: 1
    Last Post: 07-02-2013, 03:42 AM
  4. How to Import Data From Same Sheet In Multiple Workbooks In To Single Workbook.
    By jorrg1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-10-2013, 05:11 AM
  5. How do I import multiple text articles into a single sheet?
    By hamster2013 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-24-2013, 01:02 PM
  6. [SOLVED] append multiple worksheets data to a single multi-dimensional array
    By junoon in forum Excel Programming / VBA / Macros
    Replies: 36
    Last Post: 04-10-2012, 02:28 PM
  7. multiple columns data append in single column
    By suresh3566 in forum Excel General
    Replies: 3
    Last Post: 06-11-2011, 07:52 AM

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