Brian Vibert wrote in message
<506500000005000000EE720000-1019262487000@exchange.ni.com>...
>I've found that if I need to write numbers to Excel that I'm going to
>use in any sort of calculations or graphs that you need to write them
>as numbers, not strings. You will probably have to do two seperate
>read/write operations, one for your numbers and the other for text
>cells. I don't think there is really too much of a way around it.
>Unless you were able to format the cells to numbers after they were
>written programmatically, but I've never done this and don't know if
>its possible.
>
>Good luck,
>Brian
Excel will convert ascii to numbers, one to each cell, when they are
seperated by tabs. I don't remember the exact format string, but we have a
VI at
work that converts numbers to ascii before they are sent to file.
There is also a date and a time, and each gets its own cell. We copy and
paste from the output file to an Excel worksheet where we perform
calculations.
In another application I had a 2D array of text (experiment information with
column headers) and a 2D array of numerical test results that were sent to
file. I, like you mentioned, used 2 writes to get them to the same file
Steve O.
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----