06-03-2014 11:32 AM
Hi, I have used Write to Spreadsheet vi sending data to xls files. It didn't work now when associated with xlsx file. I got error message when opening the data file:
Excel cannot open the file because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file.
Is Write to Spreadsheet.vi made for xls format only?
Is there an equivelent version for xlsx format?
Thanks,
Anne
06-03-2014 11:47 AM
Write to Spreadsheet File.vi is NOT for writing Excel files. It creates TEXT files with tab delimiting (default) between fields.
Excel apparently will accept .xls extensions for text files. I have not used recent versions of Excel, so I cannot say what it does with other formats.
Lynn
06-03-2014 12:13 PM
Just a heads-up:
The vast majority of node function questions can be answered by using the context help for it (i.e., ctrl + H and then mouse over the node in question). If that's not enough, there is usually a link in the context help to a more detailed explanation.
For example, using the context help on the "Write to Spreadsheet File" node would've shown you that in order to format for Microsoft Excel, you need to use either the Report Generator or activeX.
06-04-2014 04:21 PM
Thanks you for your responses.
If Write to Spreadsheet vi is not for xlsx file. Which Vis are alternatives?
06-04-2014 04:23 PM
Did you actually read the replies?
06-04-2014 04:25 PM
Bill's first reply tells you where to start if you need actual Excel files.
Lynn