title: VBA: Click on Tab from Web page (getelementby?)
body: <p>I need to click on the import tab from a web page, I have tried things like:</p>
  
  <pre><code>ieApp.document.getElementsByTagName("#tab-import")(1).Click
  ieApp.document.getElementsByName("#tab-import").Click
  ieApp.document.getElementsById("#tab-import").Click
  ieApp.document.all.Item("#tab-import")(1).click
  ieApp.document.all.Item("Import").Click
  </code></pre>
  
  <p>The last one runs correctly but nothings happen; this is the linecode that shows the inspect element tool:</p>
  
  <pre><code>&lt;li&gt;&lt;a href="#tab-import" data-toggle="tab"&gt;Import&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>Also I have tried to open the web page with the url of the href="#tab-import" but the page starts on the first tab (export)</p>
  
  <p>I don't know what to do, please help.</p>