LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read excel sheet and save the data in same excel file

  Hi all , I need to build a VI in labiew which reads excel file and the data (number ) in column1 to be added to data (number )  in column 2 and saved in the same Excel sheet file .kindly help me I refered all the examples but didn’t find for me any suitable kindly help me it is very urgent
0 Kudos
Message 1 of 5
(3,515 Views)
Hi prifx2,
see this link please
There should be something helpful for you.
Mike
Message Edited by MikeS81 on 04-29-2009 08:55 AM
Message 2 of 5
(3,495 Views)

The attached files shows how to read and write from an Excel file.

Prabhu V
Message 3 of 5
(3,489 Views)

hi ,

I am giving you solution of your problem. I think this is what you want.

 

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 4 of 5
(3,483 Views)

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.



Never say "Oops." Always say "Ah, interesting!"

0 Kudos
Message 5 of 5
(3,463 Views)