Set myTable = myDOC.getElementsByTagName("TABLE").Item(2) '2014/01/03改
Debug.Print myTable.innerHTML
'判斷有無股價資料之狀況
If myTable Is Nothing Then Exit Sub
'將股價資料抄到temp工作表
r = 2
For Each myRow In myTable.Rows
c = 0
For Each myCell In myRow.Cells
c = c + 1
If c = 6 Or c = 8 Then
Sheets(TargetSheet).Cells(r, c) = "'" & myCell.innerText
Else
Sheets(TargetSheet).Cells(r, c) = myCell.innerText
End If
DoEvents
Next
r = r + 1
Next