title: vba referencing html elements by xpath
body: <p>I am a beginner to web scraping with excel vba and need some help.</p>
  
  <p>I am trying to reference an element. If there was an id then I could use getElementByID but sometimes there is no id. I could use getElementByClassName but sometimes there are too many elements of the same class.</p>
  
  <p>Is there some way to refer to an element by xpath?</p>
  
  <p>(I can't post the actual website since there is personal info so let us say this is the html)</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;body&gt;
  
  &lt;a href="https://google.com"&gt;Link&lt;/a&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>is there something like ie.document.getElementByXPath.(/html/body/a).click?
  I've searched all over the web and can't seem to find anything on the topic.</p>