title: Implement anchor onclick event using HTML document object from Excel VBA
body: <p>I am trying to implement an onclick event for an anchor tag on a website from Excel VBA. The following code gives me error message.</p>
  
  <pre><code>Set iePage = ieApp.document
  Set ieAnchor = iePage.getElementsByTagName("A").Item(5)
  ieAnchor.onclick = true
  </code></pre>
  
  <p>The error message is a run time error that says <code>Not Implemented</code></p>
  
  <p>Can someone please advise on getting this event to fire?</p>
  
  <p>BTW, I've used the basic <code>iePage.Links(1).click</code> event without a problem...
  but I need to execute a javascript function called from the anchor onclick event. </p>