title: Upload file to Internet Explorer using VBA
body: <p>I have an Internet Explorer window with an "add attachment" link. When pressing it a child window opens and there is a field with a "browse" button. </p>
  
  <p>The issue is that it won't let you add the path manually, you must press "browse". I found the element but I can't change it's value cause it's read only and I can't get the browse window to open by code. How can I solve this?</p>
  
  <pre><code>&lt;td  style="padding-bottom:1;padding-right:4;" rowspan=1 colspan = 1 Class = "cellpad" nowrap&gt; 
  &lt;INPUT TYPE="HIDDEN" NAME="bUploadLocation_txtsFilename" VALUE="//ysi\ycrm/CRM_FILES/"&gt; 
  &lt;INPUT TYPE="HIDDEN" NAME="HDN_MANDATORYATTACHMENT_txtsFilename" VALUE=""&gt; 
  &lt;input type="hidden" name="hdnUploadLimit_txtsFilename" value="70" &gt; 
  &lt;INPUT TYPE="FILE" NAME="txtsFilename" CLASS ="INP" ONCHANGE = "javascript:`{fnSetChangeFlag('bUpdate1',1);}" TABINDEX = "3"&gt;`
  &lt;SCRIPT&gt; NonMandatoryCheckArray1[NonMandatoryCheckArray1.length] ='txtsFilename' &lt;/SCRIPT&gt; &lt;/td&gt;
  </code></pre>
  
  <p>The attachment textbox and button are in the same line : </p>
  
  <pre><code>&lt;INPUT TYPE="FILE" NAME="txtsFilename" CLASS ="INP" ONCHANGE = "javascript:{fnSetChangeFlag('bUpdate1',1);}" TABINDEX = "3"&gt;
  </code></pre>
  
  <p>How can I make the browse window to open, or even better, to change the value attribute to editable?</p>