title: IE Readystate stuck at 1 during VBA webscraping
body: <p>When attempting to reach a URL my code gets stuck in my readystate loop and never loads. The readystate remains at 1 permanently. If I pause the code and hit debug the cursor skips around my procedure in a bizarre order, sometimes to the end then to the beginning, sometimes right back to the beginning of the sub.</p>
  
  <p>I read that this might be an issue with the javascript but I can't seem to find any resolution. </p>
  
  <p>Is there a way to get this to work?</p>
  
  <pre><code>Sub Navigate()
  
      IE.Visible = True
      IE.Navigate ("http://web.vermont.org/Accounting?ysort=true")
  
      Do While IE.ReadyState &lt;&gt; 4
             DoEvents
      Loop
  
  
      Set Doc = IE.Document
  
  End Sub
  </code></pre>