title: Cannot scrape all html source code with VBA
body: <p>I would like to scrape the source code from a website and then parse the code. Unfortunately when I define a variable equal to the innerHTML of the site, it is not pulling all the source code of the website. It is only pulling a subset of the source code and the subset contains none of the data I require (race results). There there a different command I could use? (document.all.innerhtml?) </p>
  
  <p>My code is as follows:</p>
  
  <pre><code>Sub Test()
  Set objIE = CreateObject("InternetExplorer.Application")
  
  URL = 'URL goes here
  objIE.navigate (URL)
  
  Do
  DoEvents
  
  Loop Until objIE.readyState = 4
  
  htmlData = objIE.document.DocumentElement.innerHTML
  
  MsgBox htmlData
  If InStr(htmlData, "&lt;tr class=&amp;Chr(34)&amp;again_bg_table&amp;chr(34)&amp;&gt;") &gt; 0 Then
   'parse code
  Else
      MsgBox "The VBA procedure is not designed to parse this webpage. Please modify the code"
  End If
  End Sub
  </code></pre>