I've been amending an Excel spreadsheet used for data conversion to be used in Stress Testing. Not my choice, I will admit, but the solution I've inherited.
As a last step, Excel opens up all csv files found within a directory and copies the contents to another sheet, appending to the bottom of the sheet. The script then randomises the data held in the sheet before saving as another csv file. My problem is that so far, I've managed to get this to work with a few csv files, but eventually I will need to use 2000+ csv files which will contain 250,000+ lines of data.
I so far have three proposed solutions:
a) count if the number of lines will exceed 65536 and create a new files if they do
b) use the vba FileWriter to write out the files
c) integrate Access in some way.
The problem with the solutions above is that I then need to randomise the data within the final csv file.
Any help is appreciated on the pros/cons of the above solutions and the randomisation of the final data in the csv file
Many thanks
Phooey
As a last step, Excel opens up all csv files found within a directory and copies the contents to another sheet, appending to the bottom of the sheet. The script then randomises the data held in the sheet before saving as another csv file. My problem is that so far, I've managed to get this to work with a few csv files, but eventually I will need to use 2000+ csv files which will contain 250,000+ lines of data.
I so far have three proposed solutions:
a) count if the number of lines will exceed 65536 and create a new files if they do
b) use the vba FileWriter to write out the files
c) integrate Access in some way.
The problem with the solutions above is that I then need to randomise the data within the final csv file.
Any help is appreciated on the pros/cons of the above solutions and the randomisation of the final data in the csv file
Many thanks
Phooey