| || |
capturing text in a table
I am attempting to code to "capture" the text within a JavaTable and assign to a variable.
For example, the table is identified as follows"
I want to assign what is in row 13 and column 5 to a variable named sValue.
I know that I can get to the position with the following code...
JavaTable("Index=1").SelectIndex 13, 5
but how do I assign what is in that position to a variable?
Re: capturing text in a table
You should be able to use the item collection. The item index should correspond to the collumn.
Dim ti As TItems
Set ti = JavaTable("Index=1").Items
For Each o In ti
The 13th item would be the one you are looking for. Of course you will have to modify the code with counters to fit your needs and you probably don't want the msgbox.