Hello
you will have to adapt the result in cells:
Dim IE As internetExplorer
Dim maPageHtml As HTMLDocument
Dim Htable As IHTMLElementCollection
Dim maTable As IHTMLTable
Dim x As Integer, i As Integer, j As Integer
Dim Ligne As Integer
Set IE = CreateObject("internetExplorer.Application")
IE.Visible = True
IE.navigate "http://maPageWeb.html"
Do Until IE.readyState = READYSTATE_COMPLETE
DoEvents
Loop '
Set maPageHtml = IE.document
'frames.Item(1) is the second frame in the html page
Set Htable = maPageHtml.frames.Item(1).document.getElementsByTagName("table")
'tables in second frame
For x = 0 To Htable.Length - 1
Set maTable = Htable(x)
'rows in table
For i = 0 To maTable.Rows.Length - 1
Ligne = Ligne + 1
'each cell in row
For j = 0 To maTable.Rows(i).Cells.Length - 1
Cells(Ligne, j + 1) = maTable.Rows(i).Cells(j).innerText
Next j
Next i
Next x
IE.Quit
Set IE = Nothing
regards
michel
Bookmarks