+ Reply to Thread
Results 1 to 2 of 2

Need help with extracting data from CSV files in a folder

  1. #1
    Registered User
    Join Date
    01-29-2024
    Location
    NewYork
    MS-Off Ver
    Office Professional 2019
    Posts
    1

    Need help with extracting data from CSV files in a folder

    Hi guys, I am trying to extract the data from CSV files placed in a folder (Location 1). In this regard, I generated a MACRO but the code is not working with other files.

    Please note that the path to the folder is: C:\Users\Universities\Cornell\Plastics Circular Economy\4. Modelling\1. Solar Irradiance Data\Idaho\Location 1

    The Excel file in which I want to import data is: Idaho.xlsm

    I want to combine all the data from the source files into a master sheet, similar to the one we can have using the Data>Data Extraction>Folders>Combine & Load.

    I have the following code:

    Please Login or Register  to view this content.
    Last edited by AliGW; 01-29-2024 at 06:07 PM. Reason: Urgency removed from thread title.

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: Need help with extracting data from CSV files in a folder

    Hello nomanrazasial and Welcome to Excel Forum.
    If you think that you might be interested in using Get & Transform (aka Power Query) instead of VBA to accomplish this then the linked video may help: https://www.youtube.com/watch?v=pMQK1Zcc9jw&t=319s
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. [SOLVED] Need a urgent help in extracting data with the criteria specified
    By PKRathor in forum Excel General
    Replies: 3
    Last Post: 08-04-2014, 07:20 AM
  2. Extracting data from multiple .xls files in folder and creating new workbook
    By haedyr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-01-2013, 07:28 PM
  3. URGENT - Extracting / Importing certain tables from several word Files to Excel
    By pareshvm in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-17-2013, 09:29 AM
  4. Looping through multiple files in a folder and extracting data from a specific tab
    By Bandicoot in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-05-2013, 05:24 PM
  5. Extracting Data from Multiple Files in a Folder
    By endoskeleton in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-24-2011, 11:23 PM
  6. [SOLVED] Extracting data from some files in folder
    By Alf in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-11-2006, 05:21 AM
  7. Extracting/copying files from a folder using VBA
    By Bhupinder Rayat in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 11-14-2005, 05:15 PM

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