Forum Discussion
Dmitry_Nikolaev
Staff
16 years agoHi Girish,
I still do not understand why you are iterating through rows and cells instead of using the Find method.
If you need to find a table row containing a link with some specific text to operate on an object of this row, you can first find the link and then get the index of the corresponding row using this link object.
PropArray = Array("ObjectType", "innerText")
ValuesArray = Array("Link", "100187")
...
Set linkObj = tableObj.FindChild(PropArray, ValuesArray, 15)
rowIndex = linkObj.Parent.Parent.Parent.Parent.Parent.RowIndex