Hi SAKDOSS ,
Please let me know if you need any more info.
Code:
If Browser(X).Page(X).WebTable("index:= Here mention UR table index").Exist Then
ColNum = Browser(X).Page(X).WebTable("index:= Here mention UR table index").ColumnCount(1)
DesiredColNum = 0
For colint = 1 to ColNum
If Browser("SAM").Page("SAM").WebTable("Database:").GetCellData(1,colint) = "Column2" Then
DesiredColNum = colint
Exit For
End If
Next
If DesiredColNum <> 0 Then
For rowint = 1 to Browser("SAM").Page("SAM").WebTable("Database:").RowCount
rowval = Browser("SAM").Page("SAM").WebTable("Database:").GetCellData(rowint,1)
If rowval = "k" Then
DesiredRow = rowint
Exit for
End If
Next
Else
MsgBox "Column2 is not displayed in the specified table."
End If
MyValue = Browser("SAM").Page("SAM").WebTable("Database:").GetCellData(rowint,DesiredColNum)
msgbox MyValue
Else
msgbox "Specified WebTable with ''" & Here mention UR table index & "'' is not present."
ExitRun
End IfPlease let me know if you need any more info.
Thanks,
SUpputuri
SUpputuri

