Hello, I'm hoping someone can point me in the right direction on the best method for pulling in data from a text file to excel 2003.
The text file can have as many as 1Million rows.
so I've been trying to do the data query in Excel (I've already set up an ODBC connection for txt,csv, etc.)
The issue that I've been having with this is that the first row is the name of the report and the 2nd row is the header, so I don't know how to have the query look at the 2nd row.
Then I thought I would open the text file and then loop through it to pull in the data that I need (which means I would have to loop through 1Million rows up to 10 times, depending on the users inputs). But I'm afraid I don't know too much about text files and how to code it using VBA for excel.
Any input would be appreciated.
The text file can have as many as 1Million rows.
so I've been trying to do the data query in Excel (I've already set up an ODBC connection for txt,csv, etc.)
The issue that I've been having with this is that the first row is the name of the report and the 2nd row is the header, so I don't know how to have the query look at the 2nd row.
Then I thought I would open the text file and then loop through it to pull in the data that I need (which means I would have to loop through 1Million rows up to 10 times, depending on the users inputs). But I'm afraid I don't know too much about text files and how to code it using VBA for excel.
Any input would be appreciated.