使用VBA将特定的子节点从HTML表中提取到excel

我想在FDA节点中提取第5个孩子,然后点击IMG。 我的解决scheme迄今只提取第二个元素。 任何帮助将不胜感激。

<TD>Proxy to Inter</TD> <TD>15/03/2017 7:19:18 AM</TD> <TD>15/03/2017 7:19:18 AM</TD> <TD>2</TD> <TD>10</TD> <TD>false</TD> <TD></TD></TR> <TR class=white><TD>FDA</TD> <TD>Data</TD> <TD>24/07/2017 1:21:59 PM</TD> <TD>25/07/2017 9:42:43 AM</TD> <TD>2</TD> <TD>10</TD> <TD>false</TD> <TD><IMG onclick="Trail( style="CURSOR: hand" alt="" src="/images/task.gif"></TD></TR> 

我的VBA代码到目前为止:

 sText = "" Found = False Set inputCollection = HTMLDoc.getElementsByTagName("td") For Each inputElement In inputCollection If Found = True Then sText = inputElement.innerText Worksheets("Sheet1").Cells(sht1rw, 4) = sText Found = False Exit For End If If inputElement.innerText = "FDA" Then Found = True End If Next inputElement