tp1978 |
Posted - 02/21/2007 : 2:38:19 PM Origin Version 6.1 Operating System: Windows 2000
Hi,
I have 10 files, each with 10 rows and 2 columns. I need to combine all the columns in a cumulitive manner (using script). The files have generaic names: P1.txt, P2.txt, ....., P10.txt The x-axis in the files are 0-0.1, 0.1-0.2, 0.2-0.3, ...... 0.9-1.0
So now I'm manually opening each file, copying the 10 rows and 2 columns, and adding it cumulatively to a worksheet, so that my x-axis ranges from 0.0-1.0 (spanning all the data).
I'm not sure how to use a script to generate the final worksheet right away (cumulatively added data from the 10 files, x-axis ranging from 0.1-1.0). I can open the script window (using Alt+3) but how does one write a script and run it ? |