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
(3,370 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
(3,358 Views)

Thanks PalanivelT, let me try.Smiley Very Happy

0 Kudos
Message 3 of 4
(3,352 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
(3,326 Views)