title: Xmlhttp request is raising an Access Denied error
body: <p>The following Excel macro, which is making an xmlhttp request to this webpage to retrieve some values at a second stage, has worked normally in VBA until some time ago:</p>
  
  <pre><code>Sub WebReq()
  
  Link = "http://it.finance.yahoo.com/q?s=^FCHI&amp;ql=10" &amp; str(rnd())
  Set htm = CreateObject("htmlFile")
  
  Set RequestWeb = CreateObject("msxml2.xmlhttp")
  With RequestWeb
      .Open "GET", "" &amp; Link &amp; "", False
      .send
      htm.body.innerhtml = .responsetext
  End With
  
  End Sub
  </code></pre>
  
  <p>Now, instead, at the call of the method:</p>
  
  <pre><code>    .send
  </code></pre>
  
  <p>of the object msxml2.xmlhttp is raising the following error:</p>
  
  <pre><code>Run-time error '-2147024891 (80070005)'
  Access is denied. 
  </code></pre>
  
  <p>I've been looking on the web but all the similar threads are never answered. Can anyone explain me what this error means, and if there's any way I could fix it or even just work around it? </p>
  
  <p><strong>Note</strong>: the random string at the end of the variable 'Link' has been added to force the page reloading, since the script is retrieving real-time values and so it should be loaded every time. </p>
  
  <p><strong>Additional information</strong>: while looking for a solution, I'm noticing now that the random part of the link is yielding always the same value even when I end the running and restart again:</p>
  
  <pre><code>Link = http://it.finance.yahoo.com/q?s=^FCHI&amp;ql=10 .7055475
  </code></pre>
  
  <p>Why is this happening? Shouldn't <code>rnd()</code> yield a new random value between 0 and 1 at every call? </p>