Forum Discussion
SamuraiJack
16 years agoContributor
Unfortunately we're using VBScript.
But I got the script working from the page I referenced.:
Main
But I got the script working from the page I referenced.:
Sub Main
Main
Dim Pg, Tbl, i, j
Set Tbl = Aliases.Sys.iexplore.PolicyBox
For i = 0 To Tbl.rowcount - 1
Log.AppendFolder "Row " & i
For j = 0 To Tbl.rows.item(i).cells.length - 1
Log.Message "Cell " & j & ": " & Tbl.rows.item(i).cells(j).innerText
Next
Log.PopLogFolder
Next
End Sub
The only issue now is that The table I need to pull data from in Tbl = has a varying number of sub tables, and those are nested inside more ASP code:
The name for the sub table is this:
TBL.Cell(0, 0).Panel(0).Table(0)
Can I just use a variable in the Cell part?
i.e. TBL.Cell(X, 0).Panel(0).Table(0)
Thanks