04-28-2009 11:41 PM
04-29-2009 01:53 AM - edited 04-29-2009 01:55 AM
04-29-2009 02:10 AM
The attached files shows how to read and write from an Excel file.
04-29-2009 02:21 AM
hi ,
I am giving you solution of your problem. I think this is what you want.
04-29-2009 04:48 AM
I don't know if this'll help you at all, but it's a VI that I made to handle writing single cells, ID arrays, or 2D arrays of strings, numbers of formulae into excel. It needs the Excel._Workbook reference (which is carried through), then you specify the name/number of the sheet within the workbook and the top left cell (by row and column) of the area you want to write to. For arrays, there is the option to transpose (flip x and y orientation) the data. Unfortunately, (this may not apply to all versions of LabVIEW and Excel) formulae can only be written in cell by cell. Single cells and 1D arrays input to the same place, and 2D arrays have a separate input (do not connect to both inputs at the same time). You do need to specify the type of input (string, number, formula) since I have not found a way to automatically detect this (I cannot create polymorphic VIs).
I hope this helps in some way.