08-04-2008 10:46 AM
08-04-2008 10:53 AM
08-06-2008 12:54 PM
Since my path in the Write to Spreadsheet File.vi is is C:\....abc.xls file, this will create an excel file. The advantage I found on this was it would write 2D array very fast. I need to add another 2D array in another worksheet. Can I do this while using Write to Spreadsheet File.vi?
If not, I was wondering if I could instead write my two 2D arrays using Write to Spreadsheet File.vi and then combine these two.
Right now I am reopening that abc.xIs file using activeX, adding worksheet and writing 2D array using for loop (screenshot attached) which has more than 1000 rows and more than 50 columns. This takes a very long time.
Any suggestions?
Thanks.
08-06-2008 12:58 PM
No it won't. As already pointed out, that VI does not generate an Excel file. It generates a text file. These text can be opened with Excel simply because Excel can read text files. But they're text files, not Excel workbooks.
@AshishMaharjan wrote:
Since my path in the Write to Spreadsheet File.vi is is C:\....abc.xls file, this will create an excel file.
No. This has already been pointed out. That VI does not generate Excel files.The advantage I found on this was it would write 2D array very fast. I need to add another 2D array in another worksheet. Can I do this while using Write to Spreadsheet File.vi?
Write the values using the Range object instead of each cell at a time.
If not, I was wondering if I could instead write my two 2D arrays using Write to Spreadsheet File.vi and then combine these two.Right now I am reopening that abc.xIs file using activeX, adding worksheet and writing 2D array using for loop (screenshot attached) which has more than 1000 rows and more than 50 columns. This takes a very long time.
Any suggestions?
08-06-2008 01:01 PM
AshishMaharjan wrote:
Since my path in the Write to Spreadsheet File.vi is is C:\....abc.xls file, this will create an excel file.