LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

labview 7.0 to excel active cell

I would like to have labview send a measured value to an active cell in excel, does anyone know of a good method to do this?

 

“i.e. not specifying the cell row and number, but use the highlighted cell in an open excel window”

 

Thank you

-Matt

0 Kudos
Message 1 of 2
(2,756 Views)

Hi Matt,

It sounds like you have two options:

1)  Go through ActiveX commands and figure out how access Excel via ActiveX.

2)  Simpler but not as pretty, simulate keyboard stokes so that the current highlighted cell.  You can do this by using a call library function node with the user32.dll and keybd_event function.

It's a good question.  Anyone from the community do anything close or have any better ideas?

Brian K.
0 Kudos
Message 2 of 2
(2,739 Views)