LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Excel : How can I find the row of a cell by finding its value

Solved!
Go to solution

Hello,

I have develloped a VI which finds a value in an excel workbook, and I need a way to collect the row of the cell containing this value. 
Thank you for your help

0 Kudos
Message 1 of 7
(3,689 Views)

@Hind wrote:

Hello,

I have develloped a VI which finds a value in an excel workbook, and I need a way to collect the row of the cell containing this value. 
Thank you for your help


That might depend on how your code is written (ActiveX? RGT?), you should attach your vi.

 

Ben64

0 Kudos
Message 2 of 7
(3,678 Views)

How do you find the value?

0 Kudos
Message 3 of 7
(3,677 Views)
I use the activeX find
0 Kudos
Message 4 of 7
(3,664 Views)
Solution
Accepted by topic author Hind

@Hind wrote:
I use the activeX find

Then use the Row property on the range object returned by theFind method.

 

Ben64

0 Kudos
Message 5 of 7
(3,658 Views)

I have already tried it and it always returns row = 1. I have attached the VI  and thank you for your response.

0 Kudos
Message 6 of 7
(3,640 Views)

My mistake I was using the range object returned by the replace method! 
Thank you once again !

0 Kudos
Message 7 of 7
(3,635 Views)