06-26-2012, 05:19 PM
Try the below code
Code:
rCnt = Browser("").Page("").WebTable("").GetROProperty("rows")
For i = 1 to rCnt - 1
cCnt = Browser("").Page("").WebTable("").GetROProperty("columns")
For j = 1 to cCnt - 1
Col_Name = Browser("").Page("").WebTable("").GetCellData(i,j)
If Col_Name = "Invoive.No" Then
Msgbox "Column Number" & j
End IF
Next
Next