
06-07-2012, 02:52 AM
|
 |
Junior Contributor
|
|
Join Date: Nov 2008
Location: Glasgow, UK
Posts: 328
|
|
|
Hi tienxviet and welcome to XVBT.
The text file you supplied only had little over 11,000 records so not big. Do you have MS Excel? The easiest method would be to open the text file in that and use the tab delimited option, that will pull through into columns and then you can use the normal sort functionality within Excel. Or are you looking to automate the process?
If the latter, you could record a macro while importing the data and then you will be able to use that macro each time (provided the file name is the same each time).
You could of course go further and add in your own code that allows you to choose a file and where you want it imported to etc. but given the size of the data and the time it takes to import it manually (no more than 10 secs), unless this was a repeating process throughout the day, I don't see any advantage in doing it this way. Of course, the choice lies completely with you however.
|
__________________
Artificial Intelligence is no match for natural stupidity
|