LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview2015, Excel, obain multi-address at the same time

Solved!
Go to solution

   Hi guys, I try to use ActiveX to obain cell's address of specific data, but only get one result in a running.

   I hope obain Multi-address for some specific in a VI at the same time.

   It is a VI that obain one result in one run below.

   Thanks & Best Regards.

 

ScreenHunter_6.jpg

0 Kudos
Message 1 of 4
(2,717 Views)

how about using Loop to iterate and get all required addresses

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 4
(2,705 Views)

Thanks PalanivelT, let me try.Smiley Very Happy

0 Kudos
Message 3 of 4
(2,699 Views)
Solution
Accepted by topic author Erbin

All the string manipulation at the end is useless (and very Rube Goldberg). Just connect a FALSE constant to the Row Absolute and Column Absolute inputs of the the Range Address method and it will return B16 instead of $B$16.

 

You will need to use a criteria to stop your loop because the Find Next method will cycle continuously throught the range. Usually you cycle while the found address is different from the first address found.

 

Finally, you will have to filter error 97 which is thrown when no match is found (and use it to stop cycling throught the range).

 

Ben64

0 Kudos
Message 4 of 4
(2,673 Views)