Forum Discussion
SamuraiJack
16 years agoContributor
okay further debugging the script has further located the error (underlined area below). After creating a new name map for the PolicyTable through the IEFrame(0), it seems to be working fine. Thanks for the help.
Main
Sub Main
Main
Dim Tbl, Tbltwo, i, j, r, c
' Obtains the Page object and the table
If (Aliases.Sys.iexplore.panelCommercialpolicylist.Exists)
Then
Set Tbl = Aliases.Sys.iexplore.CommTable *** This works fine
Else
Set Tbl = Aliases.Sys.iexplore.PolicyTable *** When it does this, it doesn't
end If
end If