05-10-2008, 05:34 AM
(This post was last modified: 05-10-2008, 05:35 AM by Anshoo Arora.)
ConstantChange, you can also try this (a little simple and configurable):
Code:
Public Function getTargetRow(sText)
Set oTable = Browser("micclass:=Browser").Page("micclass:=Page").WebTable("")
rowTotal = oTable.GetROProperty("rows")
colTotal = oTable.GetROProperty("cols")
For rowStart = 1 to rowTotal
For colStart = 1 to colTotal
sData = ColInfoTable.GetCellData(rowStart,colStart)
If sData = sText Then
getTargetRow = rowStart
Exit Function
End If
Next
Next
End Function