From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,115 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,104 Views)

How do you find the value?

0 Kudos
Message 3 of 7
(3,103 Views)
I use the activeX find
0 Kudos
Message 4 of 7
(3,090 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,084 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,066 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,061 Views)