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