LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write to Spreadsheet File vi doesn't work in xlsx format

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

 

 

0 Kudos
Message 1 of 6
(5,048 Views)

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

0 Kudos
Message 2 of 6
(5,046 Views)

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.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 6
(5,031 Views)

Thanks you for your responses.

 

If Write to Spreadsheet vi is not for xlsx file. Which Vis are alternatives?

0 Kudos
Message 4 of 6
(4,977 Views)

Did you actually read the replies?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 5 of 6
(4,973 Views)

Bill's first reply tells you where to start if you need actual Excel files.

 

Lynn

0 Kudos
Message 6 of 6
(4,970 Views)