rramkis
10 years agoNew Contributor
need to retrieve a row number where expected values find
I have a one table. in the table I want to retrieve a some expected values let assume that A,B,C these three I want to find . once its found I want to retrieve row number of each one.. the row number should be same for all the three because scenario we have to search in same row
sub retrivecolumnvalues(obj,columnvalue,ColumnValue)
rowcount = obj.wRowCount
columncount = obj.wColumnCount
msgbox rowcount
msgbox columncount
For i = 0 to rowCount
If GridObj.wValue(i, ColumnName) = (ColumnValue) Then
GridObj.ClickCell i,0
End If
end sub