title: How to define const as an object in Excel VBA?
body: <p>I have an object  </p>
  
  <pre><code>xmlHttp = CreateObject("MSXML2.xmlhttp")
  </code></pre>
  
  <p>How can I store this object( xmlhttp Object) as a <code>const</code>?</p>
  
  <p><strong>Example</strong></p>
  
  <pre><code>Public xmlHttp As ... = CreateObject("MSXML2.xmlhttp")
  </code></pre>