title: VBA: What to reference for "htmlfile"?
body: <p>I found the lines</p>
  
  <pre><code>Set xmlHttp = CreateObject("MSXML2.XMLHTTP")
  Set html = CreateObject("htmlfile")
  </code></pre>
  
  <p>and want to use them in my code. Only I like intellisense and option explicit, so I quickly modified the first one to</p>
  
  <pre><code>'needs tools&gt;references&gt;microsoft xml, v5.0
  Dim xmlHttp As MSXML2.xmlHttp: Set xmlHttp = New MSXML2.xmlHttp
  </code></pre>
  
  <p>My question is: how do i do the same thing for the second line? What do I need to reference to be able to write</p>
  
  <pre><code>dim html as htmlfile
  </code></pre>
  
  <p>?</p>