Hello,
I know how to make an output to a tab separated or comma separated text file. What I would like to know is, is there a way to open a pre-formatted Excel file and write the data to it?
When I use the open command to open 'file.xls,' it indeed writes some things to the file. I get a strange error (in Excel) when attempting to open the file that tells me it is not the correct file type.
Is there a neat way to make a copy of an Excel template and write data into the Excel file, or is the best bet just writing to a CSV or TSV and then manually copying and pasting? I would really like it if I could just generate a new Excel from an original template each time I use my program.
Thank you
I know how to make an output to a tab separated or comma separated text file. What I would like to know is, is there a way to open a pre-formatted Excel file and write the data to it?
When I use the open command to open 'file.xls,' it indeed writes some things to the file. I get a strange error (in Excel) when attempting to open the file that tells me it is not the correct file type.
Is there a neat way to make a copy of an Excel template and write data into the Excel file, or is the best bet just writing to a CSV or TSV and then manually copying and pasting? I would really like it if I could just generate a new Excel from an original template each time I use my program.
Thank you