Private Sub Form_Load()
Dim doc1 As New HTMLDocument, doc2 As New HTMLDocument
Dim col1 As IHTMLElementCollection, iLoop As Integer
Dim sPoints As String, sScore As String, sTotal As String
Set doc1 = doc2.createDocumentFromUrl("http://www.egx.com.eg/English/marketsummry.aspx", "null")
Do Until doc1.ReadyState = "complete"
DoEvents
Loop
Set col1 = doc1.all.tags("TD")
For iLoop = 0 To col1.length Step 3
If iLoop + 2 < col1.length Then
sPoints = col1.Item(iLoop).outerText
sScore = col1.Item(iLoop + 1).outerText
sTotal = col1.Item(iLoop + 2).outerText
Debug.Print sPoints & "," & sScore & "," & sTotal
End If
Next iLoop
End Sub