04-01-2004 07:32 PM
04-02-2004
08:10 AM
- last edited on
03-29-2026
06:23 PM
by
Content Cleaner
Write to Spreadsheet can only create a text file with (typically) comma or tab separated data. A spreadsheet file is a generic term. All spreadsheets are not Excel. All spreadsheet programs are capable of importing comma or tab separated data. If you want the ability to automatically open Excel by double clicking a file you create, just save the file with extension .csv. I don't think saving a text file with the extension .xls will work. If you really need to create an Excel file with all of the extra bells and whistles that go with that, then you have to use ActiveX. There is the shipping examples called Write Table To Excel. There is also the add-on LabVIEW Report Generation Toolkit for Microsoft Office. There have also been hundreds of postings to this forum with Excel as the subject. Many of those have example code. Do a search and I think you'll find what you need.