I have a spreasheet file, 9 columns of integer x multiple rows. I would like to add a header to the top, Sample #, Max, Min, 1 sec, 2 sec....... Thank you.
If you can, download and install the Report Generation Toolkit. It has those options within it to add header information to your file.
First write an array of strings for your headers. Then call the write function again with "append data" set to "true" to write your numeric values.