title: trying to click on a POPUP on a web page using vba
body: <p>Need to click on a popup which is an image on a webpage so i can gather data from that page. I have tried this line. i inspected the element in ie and i believe it is (&quot;N58:Attachment:0&quot;).</p>
  <p>I tried the following
  IE.Document.getElementsByName(&quot;N58:Attachment:0&quot;).click but nothing happens</p>
  <p>the html is the following</p>
  <pre class="lang-html prettyprint-override"><code>&lt;td class=&quot;x1w x57&quot;&gt;
  &lt;span id=&quot;N58:Attachment:0&quot;&gt;
  &lt;a onmouseover='showFiles(this,&quot;Attachment::Attach_1_::ATTACH_/xxoa/oracle/apps/xxoa/webui/RFQDetailsPG.Attachment::FRED.MILLER_BSSWUSA.COM::3840999::false::false::false::false::ATTACHMENT_IMAGE&quot;,&quot;xxoa.oracle.apps.xxoa.serv.RFQAM&quot;,&quot;_&quot;,&quot;ItemsTable&quot;,&quot;132989&quot;,&quot;RF.jsp?function_id=ATTACHREST&amp;amp;security_group_id=0&amp;amp;isReadOnlyCustomPopup=Y&quot;)' onmouseout=&quot;clearAttTimer()&quot; onclick=&quot;submitForm('DefaultFormName',0,{'_FORMEVENT':'EntityName=MULTI&amp;amp;PO_LINE_ID=3840999&amp;amp;AttachRegKey=ATTACH_/xxoa/oracle/apps/xxoa/webui/RFQDetailsPG.AttachmentcWwNUmMH','attachStyleParam':'ATTACHMENT_IMAGEEjyLVGNL','PO_LINE_ID':'3840999YvHMu5kE','serverValidate':'09gDNpf_y',event:'oaGotoAttachments'});return false;&quot; 
  onfocus='showFiles(this,&quot;Attachment::Attach_1_::ATTACH_/xxoa/oracle/apps/xxoa/webui/RFQDetailsPG.Attachment::FRED.MILLER_BSSWUSA.COM::3840999::false::false::false::false::ATTACHMENT_IMAGE&quot;,&quot;xxoa.oracle.apps.xxoa.serv.RFQAM&quot;,&quot;_&quot;,&quot;ItemsTable&quot;,&quot;132989&quot;,&quot;RF.jsp?function_id=ATTACHREST&amp;amp;security_group_id=0&amp;amp;isReadOnlyCustomPopup=Y&quot;)' 
  onblur=&quot;clearAttTimer()&quot; 
  href=&quot;#&quot;&gt;
  &lt;img align=&quot;middle&quot; alt=&quot;View&quot; src=&quot;/OA_MEDIA/attachments_toggleattach_popup.gif&quot; border=&quot;0&quot;&gt;
  &lt;/a&gt;
  &lt;/span&gt;
  &lt;/td&gt;
  </code></pre>