Hi all again after a week of trying to figure out how to parse a HTML table I have yet to figure it out.

Below is the Table I am trying to get the information out of.

Code:
<table class="resourceInfoTable">
	<tbody>
		<tr>
          		<th>Production</th>
		</tr>
		<tr>
			<td class="fontSize11 fontBold colorWhite">28,900</td>
		</tr>
		<tr>
			<th>Consumption</th>
		</tr>
		<tr>
			<td class="fontSize11 fontBold colorWhite">23,132</td>
		</tr>
		<tr>
        		<td class="borderBottom">&nbsp;</td>
		</tr>
		<tr>
			<th>Yield</th>
		</tr>
		<tr>
			<td class="fontSize16 fontBold fontColorRace">5,768</td>
		</tr>
		<tr>
        		<th>Stored</th>
		</tr>
		<tr>
         		<td class="fontSize11 fontBold colorWhite">170,000</td>
		</tr>
	</tbody>
</table>
Below is the code I am using to Pull that information out.
VB Code:
  1. Public Sub Energy()
  2.  
  3.         Dim doc As HtmlDocument = frmWebBrowser.WebBrowser1.Document
  4.         Dim tds As HtmlElementCollection = doc.GetElementsByTagName("div")
  5.  
  6.         For Each td As HtmlElement In tds
  7.             If td.GetAttribute("id") = "planetEnergyOverview" Then
  8.  
  9.                 Dim linkText As String = String.Empty
  10.                 Dim PlanetClassName As String = String.Empty
  11.  
  12.                 For Each div As HtmlElement In td.GetElementsByTagName("table")
  13.                     If div.GetAttribute("className") = "resourceInfoTable" Then
  14.                         For Each div2 As HtmlElement In div.GetElementsByTagName("td")
  15.                             If div2.GetAttribute("className") = "fontSize11 fontBold colorWhite" Then
  16.                                 linkText = div2.InnerText.Trim()
  17.                                 If Not String.IsNullOrEmpty(linkText) Then
  18.                                     Exit For
  19.                                 End If
  20.                             End If
  21.                         Next
  22.                     End If
  23.                 Next
  24.                 frmMain.lblEnergyPro.Text = "Production: " & String.Format("{0}", linkText)
  25.             End If
  26.         Next
  27.  
  28.     End Sub

The problem I am having is that It pulls out the 28,900 fine but I need to pull the rest of the information IE the 23,132 and the 170,000 and they will get placed into other Labels. Now they are not Static numbers they change all the time to higher or lower lumbers.

Thank you for the help in advance this site is helped me get from VB6 to VB.net and learn new things I didn't know I was able to do in VB.