03-05-2012 10:58 AM
Hi,
I want to copy data from a csv file to a named sheet in a .xls template file. How do I do this? I also like to copy data from a 2D array to a named
sheet in a xls file
Solved! Go to Solution.
03-05-2012 02:06 PM - edited 03-05-2012 02:07 PM
Use 'Write to Spreadsheet' VI for writing table into CSV File.
Have a look on the shipped example \LabVIEW 2010\examples\office\Excel Reports.llb\Generate Report From Template (Excel).vi to save table into excel template file.
Also see this link for more information. http://zone.ni.com/devzone/cda/pub/p/id/1339
03-05-2012 02:34 PM
That won't work. I have an excel file that has analysis and plots...after every measurement, we want to replace the raw data in the
excel file, which is one 1 worksheet, with the new data. So I need to write into an exisitng xls file, and then re-save it to a new file name.
03-05-2012 02:42 PM
THis method works, but you first have to write to a csv file, and then read file in text format and append to report.
03-06-2012 03:20 AM
Fine.