06-04-2008, 04:29 AM
See if this works:
(You might have to add the WebTable description, which is the child of the Frame1 object)
(You might have to add the WebTable description, which is the child of the Frame1 object)
Code:
Set baseObj = Browser("Browser").Page("Page").Frame("Frame1").WebTable("")
rowCount = baseObj.GetRowWithCellText("Last Trade Price")
colCount = baseObj.ColumnCount(rowCount)
For iCount = 1 to colCount
sData = baseObj.GetCellData(rowCount, colCount)
If sData = "Last Trade Price" Then
sText = Browser("Browser").Page("Page").Frame("Frame1").ChildItem(rowCount, colCount + 1, "WebElement", 0).GetROProperty("innertext")
Exit For
End If
Next
MsgBox sText