Jump to content

problem with IE document.all

- - - - -

  • Please log in to reply
No replies to this topic

#1
learning_vba

learning_vba

    Newbie

  • Members
  • Pip
  • 1 posts
I'm trying to parse a html page containg tables, still document.all.tags("table") does not return any. What can be the reason

the code below:

Set IE = CreateObject("InternetExplorer.Application")
....
i=0
For Each table In IE.Document.getElementsByTagName("table")
i=i+1
Next table
MsgBox i

shows a message box with the text: 0

the page is the result of a search engine built in perl, containing the result as table




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users