05-19-2008 09:49 AM
05-19-2008 10:40 AM
05-20-2008 04:43 AM
The problem is that im a complete stranger to activex and its terminology, although I understand it is the more elegant way of importing cells to an array.
The solution I am seeking is to import all rows, as strings into an array, from a .xls that contains both text and numeric values. I can strip the unwanted text later and perform string to number conversion to obtain the values I require for the rest of my .vi
If I try to use the "Read From speadsheet" .vi I get gobeldygook, all the worksheet header info and bin data, however if I save the .xls as a Tab Delimited Text file then I can use "read from spreadsheet" which I am familiar with. I understand that .XLS file as bin data cannot be read directly. and that an instance of excel must be opened to perform activex type commands to drive excel functions.
I do not know how to use activex to read directly from an .XLS, I'm assuming its a case of opening the file (from a file dialog select), selecting worksheet, select range to import, import, then close file. Basic examples to play with at this stage would be greatly appreciated.
Regards
05-20-2008 09:12 AM